Question: Create a code that perform the following tasks: Create a variable that will work as a password Use decision statements to ask the user for

Create a code that perform the following tasks:
Create a variable that will work as a password
Use decision statements to ask the user for a password and check
If the user input is the same as the variable (similar to a login)
Ask the user three times for names of countries and store each
value in a different variable
Print all name variables using the following :
Print()
if
for
while
elif
else

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!