Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

function python help HideAndSeek.py Submit Run GradesReset 1 #write a function called hide and seek. The function 3hould 2 #have no parameters and return no

image text in transcribedfunction python help

HideAndSeek.py Submit Run GradesReset 1 #write a function called hide and seek. The function 3hould 2 #have no parameters and return no value ; instead, when [Executed at: Sun Mar 4 15:29:37 PST 2018] 3 #called, it should just print the numbers from 1 through 10, 4 #follow by the text "Ready or not, here I come!". Each 5 number and the message at the end ghould be on iton We found one thing wrong with yo ur code: 6 #line- 8 #Then, call the function. It looks like you're currently c alling print) outside of any fu nctions. In this problem, you sh ould only ever call print) from inside a function 10 #There should be no print statements outside the function. 12 13 Write your function here! 14 def hide and seek() 15 16 17 18 19 20Call your function here! 21 hide and seek () 22 print ("REady or not, here I come!) 23 24 25 26 27 for i in range (1,11,1): print (i)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis In Microsoft Excel

Authors: Alex Holloway

1st Edition

B0CCCPKTTX, 979-8852388452

More Books

Students also viewed these Databases questions