+ 1

What is wrong with this code?

Changing Password with python. https://code.sololearn.com/coSd8hLGCIjr/?ref=app

15th Dec 2020, 8:13 PM
Jubaer Rahman
Jubaer Rahman - avatar
7 Answers
+ 1
x = '11112336' y = input('Enter Your Password: \n') if x==y: t = input('Enter New Password: \n') print(t) u = input('Re-enter New Password:\n') print(u) if t==u: print('Password change successful.') else: print('Sorry! Password didn\'t match.') else: print('Wrong Password')
15th Dec 2020, 8:24 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
Hi Ali Kh Remember that all inputs must be entered before hitting RUN on the Sololearn app. Try inputs 11112336 17 17 RUN
15th Dec 2020, 8:40 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
Rik Wittkopp , all is clear .. thanks
15th Dec 2020, 8:42 PM
Ali Kh
Ali Kh - avatar
+ 1
Thank you bro. Much appreciated
15th Dec 2020, 8:26 PM
Jubaer Rahman
Jubaer Rahman - avatar
+ 1
Jubaer 😁👍
15th Dec 2020, 8:27 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
@Rik.. EOF error when applying your code
15th Dec 2020, 8:36 PM
Ali Kh
Ali Kh - avatar
0
Ali Kh 😁👍
15th Dec 2020, 8:43 PM
Rik Wittkopp
Rik Wittkopp - avatar