email = input("Please enter your email address: ")
Password = input("Please enter your password:")
If email == "superpython@gmail.com" and password == "1234":
---print("Welcome")
elif email == "superpython@gmail.com" and password != "1234":
---print("Wrong password")
---password = input("Enter password again")
---If password == "1234":
------print("Finally correct")
---Others:
------print("Still incorrect")
Others:
---print("Incorrect credentials")
The above is the detailed content of Conditional statements in Python: if else statement. For more information, please follow other related articles on the PHP Chinese website!