""" ------------------------------------------------- Project: Take-Away Game Standard: 91883 (AS1.7) v.1 School: Tauranga Boys' College Author: YOUR FULL NAME Date: THE DATE YOU COMPLETED THE CODE Python: 3.5 ------------------------------------------------- """ import random target_number = random.randint(1,1000) print("What is your name?") name = input() if name == "Sherakin": print("You are coolio, time to guess the number!") else: print("Losar") while True: print("What would you like to guess?") guess = int(input()) if guess >= target_number: print("UDDER") elif guess <= target_number: print("OVAL") else: print("Make sure it is a number between 1 and 1000.") continue if guess == target_number: print(f"Congratulations! You guessed the number {target_number} correctly!") break