Answer to Question #168874 in Python for Angelie Suarez

Question #168874

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


1
Expert's answer
2021-03-04T15:51:52-0500
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")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS