Question: 1 amount = 3 6 0 2 3 if amount > 1 0 0 : 4 if amount > 5 0 0 : 5 print

1 amount =360
2
3 if amount >100:
4 if amount >500:
5 print("Amount is greater than 500")
6 else:
7 if amount <500 and amount >400:
8 print("Amount is between 400 and 500")
9 elif amount <500 and amount >300:
10 print("Amount is between 300 and 500")
11 else:
12 print("Amount is between 200 and 500")
13 elif amount ==100:
14 print("Amount is 100")
15 else:
16 print("Amount is less than 100")
For the sample script, when using the interactive debugger, which lines will the debugger stop on when stepping through the code?
1,3,4,7,9,10
1,3,6,9,10
1,3,4,7,8
1,3,4,6,9,10

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!