Conditional Structure Exercises
Write a program that stores the string in a variable, asks the user for the password, and prints on the screen if the password entered by the user matches the one saved in the variable without taking into account uppercase and lowercase letters.
key = "password" password = input("Enter password: ") if key == password.lower(): print("Congratulations Password Matched") else: print("Password does not match")
Note: Stored Password is ( Password)
If Password Matched:
If Password Not Matched:
Hope You will learn Something. Happy Coding