+ 1
Python Indentation Question
password = input() repeat = input() def validate(text1, text2): if text1 == text2: print("Correct") else: print("Wrong") validate(password, repeat) There seems to be some indentation with the 5th line, but I don't get it?
3 ответов
+ 2
There are some invalid non-printable characters in the indent spaces. This happens sometimes when you copy and paste from an outside source. Delete all the indent spaces and retype them.
+ 2
I shall try. Thank you :)