My ceaser cipher encoder isn’t working properly? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

My ceaser cipher encoder isn’t working properly?

https://code.sololearn.com/W35vzm7WNi6p/?ref=app I can’t figure out what’s broken, the first few letters of the alphabet shift perfectly but other letters shift to random letters? You’re able to choose a key number to shift the letters and input the unencrypted text (caps only) Any help would be great thanks

24th Dec 2021, 3:42 PM
Alex
Alex - avatar
1 Answer
+ 3
User input value returns a string. You need to convert shift to an int.
24th Dec 2021, 7:05 PM
ODLNT
ODLNT - avatar