Question: A mall is using a system that checks the temperature of the visitors, and grants them access to the mall only if their temperature is

A mall is using a system that checks the temperature of the visitors, and grants them access to the mall only if their temperature is below 37.8 C. Write a python program that takes the temperature of the visitor as an input, and prints out:
Access Granted! if the temperature is >=37.8 C.
Access Denied! if the the temperature is <37.8 C.
Please check the example of running the program below, (Text in bold indicates user input). 1st Run:
Enter the temperature of the visitor (in Celsius): 38 Access Denied! 2nd Run:
Enter the temperature of the visitor (in Celsius): 37.4 Access Granted!

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!