Question: For this challenge you must write a function named count_from_a_to_b . This function should take two arguments (you can safely assume that all arguments will

For this challenge you must write a function named count_from_a_to_b . This function should take two arguments (you can safely assume that all arguments will always be positive integers, and the second argument value will be greater than the first argument value), and it should print all integer values from the first argument value to the second argument value - one number on each line. This function must use a while loop to count from the first argument value to the second argument value. Here are a couple of example calls to the count_from_a_to_b function along with the expected print output for that call. count_from_a_to_b(1, 2) # should print out the following: 1 2

python

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!