#WSQ06
i used a while and a module random, this page help me: http:\/\/www.mclibre.org\/consultar\/python\/lecciones\/python_while.html
http:\/\/www.pythondiario.com\/2013\/06\/modulo-random-en-python-con-ejemplos.html<\/p>\n
and here is the link to git hub: https:\/\/github.com\/juanheuforico\/mastery\/blob\/master\/pick.py<\/a> <\/p>\n import random con=1 #WSQ06 i used a while and a module random, this page help me: http:\/\/www.mclibre.org\/consultar\/python\/lecciones\/python_while.htmlhttp:\/\/www.pythondiario.com\/2013\/06\/modulo-random-en-python-con-ejemplos.htmland here is the link to git hub: https:\/\/… Continue reading
p=random.randrange(100)<\/p>\n
print(“I have a number chosen between 1 and 100.”)
r=int(input(“Please guess a number between 1 and 100: “))
#print=random.randrange(100)
while r != p:
if r < p:
r=int(input(“the number that you are searching is morehigh “))
if r > p:
r=int(input(“the number that you are searching is lower “))
con=con+1
print(“You got it! The right answer is indeed “,r)
print(“you do “,con,”trys”)<\/p>\n
<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"