Question: 1. Write a Python program that requests an integer value from the user. If the value is between 1 and 100, create a Boolean variable
1. Write a Python program that requests an integer value from the user. If the value is between 1 and 100, create a Boolean variable and assign TRUE and print integer value and Boolean Value, otherwise create a Boolean variable and assign Flase and print integer value and Boolean Value.
2. Write a Python program that requests integer and float values from the user. Check their data type (Class type);if they have the same model, print They are from the same class,otherwise print They are from the different class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
