Question: Please script in Python Name and Pin should be hardcoded Ask the user to enter his name and his pin. The correct name is: Harry

Please script in Python

Name and Pin should be hardcoded

Ask the user to enter his name and his pin.

The correct name is: Harry

The correct pin is: 5678

Using one(and only one) print statement, tell the user one of the following four things:

Name CORRECT. Pin CORRECT.

Name CORRECT. Pin WRONG.

Name WRONG. Pin CORRECT.

Name WRONG. Pin WRONG.

Use the fewestpossible conditions (boolean expressions).

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!