+ 1

Problem in the space in the output

A little problem in the space any one to help me plz 😕😕💔 _______ from string import* h=ascii_lowercase H=ascii_uppercase B='' j=h[::-1] R=input() for i in R: if i=='': B+=i elif i in h : L=h.find(i) B+=j[L] elif i in H : L=H.find(i) B+=j[L] print (B) This is the code

8th Mar 2020, 9:28 PM
إسلام دخيلي
إسلام دخيلي - avatar
2 odpowiedzi
+ 3
missed the space between quotes if i == " "
8th Mar 2020, 10:03 PM
Vitaly Sokol
Vitaly Sokol - avatar
0
It's a prgm that takes a message as input and replaces esch letter by the corresponding letter in the backwards of the alphabet for exp a by z or b by y.. And the little problem that when the prgrm is running it ignores the spaces
8th Mar 2020, 9:57 PM
إسلام دخيلي
إسلام دخيلي - avatar