Question: Python Code Beginners: Write a program that prompts the user to enter an integer number between 50 and 100. If the user enters a number

Python Code Beginners:

Write a program that prompts the user to enter an integer number between 50 and 100. If the user enters a number less than 50 or greater than 100, your program will print that the number is incorrect. If the number is equal or greater than 50 and less or equal than 100, your program will print that the number is correct.

Sample runs:

Enter a number between 50 and 100: 55

The number you entered is 55 and is correct

Enter a number between 50 and 100: 38

The number you entered is 38 and is incorrect. Enter a number between 50 and 100: 100 The number you entered is 100 and is correct.

This is the code that I wrote. Can you please fix it? and Explain to me why it's not working

https://docs.google.com/document/d/1MRiBzf0EXbis2nCHjz-3bMyn2utvuZxWWrfjuKq_G5A/edit?usp=sharing

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!