Question: debug my codes following the instruction and troubleshoot plz phyton provided. (ignore this previous baragraph) Let's assume, for this exercise, that 1 mile equals 36630

debug my codes following the instruction and troubleshoot plz
phyton
debug my codes following the instruction and troubleshoot plzphyton provided. (ignore this
previous baragraph) Let's assume, for this exercise, that 1 mile equals 36630
inches (note that this is not entirely correct mathematically, but let's just

provided. (ignore this previous baragraph) Let's assume, for this exercise, that 1 mile equals 36630 inches (note that this is not entirely correct mathematically, but let's just use that factor for this lab). Let's customize this calculation to account for the size of our stride. Write a function steps_to_miles () whose input is the number of steps and the length of the step in inches (an integer and a float respectively). The function should return the number of miles walked (the returned value should be a float, do not round the value here). Note that we do not want to assume that everyone's step should be 18.375 inches, which is why we are asking the user to input the length of their step as a separate value - the second parameter in our function. Write a program to collect the user input, call the function, and output the result as specified below with two digits after the decimal point (remember that you can use f-strings for that using print \( \left.\left(f^{\prime}\{\text { your _ value: } .2 \mathrm{f}\}^{\prime} ight) ight) \). Example ma...py Load default template... Input Your output starts with Expected output starts with 3.Unit test ^ 0/3 steps_to_miles (1199,20) Some error in your code, python error looks 1 ike Test feedback steps_to_miles () takes 1 positional argument but 2 were given Please explore it in developer mode (remember to call the functiont) 4.Unit test 0/3 Random values as parameters Test feedback ateps_to miles () takes 1 positional argument but 2 were givon Please explore it in developer mode (remember to call the functiont)

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!