64. Python Program to Check If a Number Is Between 1 and 100
Easyand, or, not
Overview
Check a range with and.
Problem Statement
Read a whole number. Print In range if it is from 1 to 100 (both included), otherwise Out of range. For example, for 50:
In range
Use input() with no prompt text: the tests type the input for you, and a prompt would end up in your output.
Input
One value per line, in this order. Example:
50
Output
The output for that example:
In range
The tests try 4 different inputs.