fixed error (#3281)
fixed error (#3281)

this will fix code from randomly throwing `SystemExit: The affine cipher becomes weak when key B is set to 0. Choose different key` exception.
TheAlgorithms/Python