Question: CHALLENGE ACTIVITY 5 . 6 . 2 : Counting using the range ( ) function. 5 5 3 2 6 2 . 4 1 9
CHALLENGE ACTIVITY
: Counting using the range function.
qxzqy
Jump to level
Integers tickethi and ticketlow are read from input, representing a range of ticket numbers issued for a museum tour. tickethi is greater than ticketlow. Complete the for loop as follows:
Use ticketval as the loop variable.
Iterate through the decreasing sequence of all the integers from tickethi down to ticketlow, both inclusive.
Click here for example
Ex: If the input is:
then the output is:
Tickets issued:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
