create a program in python and the output is this:
example output:
User Registration
Enter Desired Username: carloPogi
Enter Desired Password: iloveyou
Re-type Password: iloveyou
Login Form
Enter Username: carloPogi
Enter Password: iloveyou
Access Completed
print("User Registration")
desired_username = str(input("Enter desired username: "))
desired_password = str(input("Enter desired password: "))
print("\n\nLogin form")
username = str(input("Enter username: "))
password = str(input("Enter password: "))
if username == desired_username and password == desired_password:
print("\nAccess completed")
else:
print("\nAccess denied")
Comments
Leave a comment