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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started