+ 1
How can i improve this?
Please suggest any improvisations i can make here https://code.sololearn.com/c8q5PMvL32i6/?ref=app
5 Respuestas
+ 2
Use dictionary
+ 1
Then check this:
https://code.sololearn.com/cyfKDlcVGlC2/?ref=app
+ 1
Harsha S How about this solution? :-
for x in input().lower(): print(chr (219-ord(x)) if x.isalpha() else x, end="")
# Hope this helps
0
Abhay I've actually created 4 lists and a string
please look once more
0
Shadoff I had used dictionary in my previous attempt. I found it lengthy and time consuming.