Question: of code to accept input as a whole number? steps = input ( How many steps? ) Question 2 2 pts The distance

of code to accept input as a whole number?
steps=input("How many steps?
")
Question 2
2 pts
The distance can be any number, including decimals. How can we change this line of code to accept any numeric data?
distance=input("Total feet traveled?
")
 of code to accept input as a whole number? steps=input("How many

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!