Question: 1 . Use the function input to ask the user for a number. If the number is negative, print the word negative to the command

1. Use the function input to ask the user for a number. If the number is negative, print
the word negative to the command window, otherwise display the number.
2. Use the function input to ask the user for a number. If the number is negative or
greater than 10, then print the expression out of bounds, otherwise display the number.
3. Use the function input to ask the user for a number. If the number is both positive and
less than 2, then print the number, otherwise print the expression Not what I want.

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 Programming Questions!