python-by-example-150-chall.../challenges80-87/challenge-086.py

9 lines
245 B
Python
Raw Normal View History

2019-07-22 20:22:11 +08:00
password = str(input('Enter password : '))
re_password = str(input('Re-enter password : '))
if password == re_password:
print('Thank you')
elif password != re_password:
print('They must be in the same case')
else:
print('Incorrect')