Python: Int() Conversion & Division Issue Value Error -


so i've been working on encryption program , can't decryption function work. :( working integer can't use int() convert string one:

print(text[:text.find(" ")]) #27042626280828082886 print(chr(int(text[:text.find(" ")]) / int(algorithmsalt))) # algorithmsalt 13521313140414041443 

and error:

    file "c:\users\spike\documents\software\programming\softwaredev\7qp.py", line 69, in decrypt print(chr(int(text[:text.find(" ")]) / int(algorithmsalt)))     valueerror: invalid literal int() base 10: '' 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -