# initialize variables numguesses = 0 userguess = -1 secretnum = 5 name = input("hello! what is your name?") # fill in the missing loop here. # this loop will need run until the player has guessed the secret number. userguess = int(input("guess a number between 1 and 20: ")) numguesses = numguesses + 1 if (userguess < secretnum): print("you guessed " + str(userguess) + ". too low.") if (userguess > secretnum): print("you guessed " + str(userguess) + ". too high.") # fill in missing print statement here. # print a single message telling the player: # that he/she guessed the secret number # what the secret number was # how many guesses it took fill in the # lines in order to complete the code
Get the answer
Category: art |
Author: Giiwedin Frigyes
Related Questions
# mariah mudd # 6/22/20 # purpose:things about me. def main(): print("

# script to translate into java for project 4 import random class lott

# of pens cost of box 12- $25 50- $ ? 100- $175 the partially filled

Category
computerinformation
# of protons # of neutrons # of electrons atomic number mass number 18 17 35 17 37 6 8 6 6 15
ecology
# starter. py '' draw random "art" in a mondrian style ''' import turtle import random # height and width of the turtle window width = 1024 height =
womensstudies
#!/bin/python3 import sys import os #write detecter implementation #write isin implementation #write closure function implementation for detect30 and