Question
I'm in the process of learning Python, but I'm still very new and having some difficulty. I came across a practice example, that I could
I'm in the process of learning Python, but I'm still very new and having some difficulty. I came across a practice example, that I could use some help with.
Write a program for user registration: First the program tells the user enter 1 to register, enter 2 to sign in, enter 3 to quit After the user enter 1, the program ask the user to input username and password, the
username can not be the same as any existing ones.
After registration, tell user Congratulations! You have an account with us direct
user back to the starting point.
If the user enter 2, hint the user either Wrong password or Wrong username
until user enters a correct combination
Display Welcome back to your account! after user entered the correct user name
and password.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started