Question: num 1 = 1 0 0 if num 1 < 1 0 0 : if num 1 < 5 0 : num 1 = num

num1=100
if num1<100 :
if num1<50 :
num1= num1-5
else :
num1= num1-10
else :
if num1>150 :
num1= num1+5
else :
num1= num1+10
print(num1)

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!