Can you help me to fix this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can you help me to fix this code

This code is converting only last element of input to encrypted one and simply living others https://sololearn.com/compiler-playground/c7AJUWbkDveK/?ref=app

9th Feb 2024, 1:36 PM
Prathmesh Angad Phad
Prathmesh Angad Phad - avatar
3 Answers
0
what do you need fixed sofar looks like it works, but it only shift 1 letter and not the word . If its 2 letters it always shift the second letter so yea
9th Feb 2024, 2:21 PM
Ion Kare
Ion Kare - avatar
0
Prathmesh Angad Phad , The directions aren't clear. They show example input but not example output. Also, the input is shown as one letter followed by the key, but I think you also want the user to be able to enter a word followed by the key. For example, (trivia from the movie, 2001: A Space Odyssey): Input: hal 1 Output: ibm Is that correct?
9th Feb 2024, 7:48 PM
Rain
Rain - avatar
0
Prathmesh Angad Phad , You have a lot of tags. I think these three would be sufficient: python python3 encryption
9th Feb 2024, 8:21 PM
Rain
Rain - avatar