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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -