0
Why syntax error in line 2?
input = list((input().lower()) abc = 'abcdefghijklmnopqrstuvwxyz' zyx = 'zyxwvutsrqponmlkjihgfedcba' for i in input: if i in abc: input[input.index(i)] = zyx[abc.index(i)] print(''.join(input))
2 Answers
+ 6
You have an extra '(' before input()
+ 1
Thanks