Question: 7- Consider the following 2 program statements: Choose an answer without using IDLE then verify. Write both answers (without IDLE and after verification) in a

 7- Consider the following 2 program statements: Choose an answer without

7- Consider the following 2 program statements: Choose an answer without using IDLE then verify. Write both answers (without IDLE and after verification) in a comment. tmp = float(19 // 5) val = tmp * 3 4 5 What value would be stored in val? a. 4 b. 4.0 c. 9 d. 9.0 8. What would be printed by each of the following Python program: Please answer the question first. Write your answer in a comment. Then type each program in a python file and find out the answer. You can create 2 files temp1.py and temp2.py but no need to submit them. Use a comment line to answer the question manual before and after your ran the programs. Any difference? Program 1 temp - 38 if temp >= 37: print("too hot") elif temp >= 28: print("just right") else: print("too cold") Program 1 temp = 38 if temp >= 37: print("too hot") if temp >= 28: print("just right") if temp

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!