Question: function help HideAnd Seek2.pv Submit 1 #In the previous coding problem, you created a function File H: 2 #called hide-and-seek that printed the numbers from
function help
HideAnd Seek2.pv Submit 1 #In the previous coding problem, you created a function File "H: 2 #called hide-and-seek that printed the numbers from 1 to 10 3 #Now, however, we want to extend that. What if we want to hide 4#count to 20? 30? 5# Indentati dented bl Command e tus 1 6 #Modify your previous function so that it takes as input one 7 #pa rameter : count . Then, instead of printing the numbers from 8 #1 to 10, it should print the numbers from 1 to the value of 9 #count. Then, end with "Ready or not, here I come!" 10 12#Write your function here! 13 def hide_and seek): 14 15 16 #The function call below will test your function. We'll delete 17 #and overwrite this with other calls to hideandseek with 18#different numbers during grading: 19 hide 20 print( Ready or not, here I come! - - 23 24 25
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
