Question: CHALLENGE ACTIVITY 5 . 6 . 2 : Counting using the range ( ) function. 5 5 3 2 6 2 . 4 1 9

CHALLENGE ACTIVITY
5.6.2: Counting using the range() function.
553262.4194510.qx3zqy7
Jump to level 1
Integers ticket_hi and ticket_low are read from input, representing a range of ticket numbers issued for a museum tour. ticket_hi is greater than ticket_low. Complete the for loop as follows:
Use ticket_val as the loop variable.
Iterate through the decreasing sequence of all the integers from ticket_hi down to ticket_low, both inclusive.
Click here for example
Ex: If the input is:
75
70
then the output is:
Tickets issued: 757473727170

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!