python question Implement the following: 1) Request a floating value from the console from 1 to 100 inclusive. 2) Use the following logic: print 'Valid' if the input is between 1 and 100 inclusive....


python question


Implement the following:
1) Request a floating value from the console from 1 to 100 inclusive.
2) Use the following logic:
    print 'Valid' if the input is between 1 and 100 inclusive.
    print 'Out of range' if the input is not in the specified range above.
3) Use except to print 'Invalid' if the input is invalid data such as letters or symbols.



Input text can beanycontent. Just make sure to precisely match the outputformat below.
Write your code in theANSWER area provided below (must includecomments if using code is not covered in the course).






Example output
(if the input is 99.99)



Enter a number (1-100): 99.99
Valid



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here