Answer:
ouch what happened to him
congrats you ruined my childhood
(thanks for the free points!!)
Answer:
The answer is A)
Explanation:
In programming languages like java you can only use single inhertance meaning a class can only inherit attributes from one class. But in other languanges like C you can have multiple inhertance
numGuesses = 0
userGuess = -1
secretNum = 5
name = input("Hello! What is your name?")
while userGuess != secretNum:
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.")
if(userGuess == secretNum):
print("You guessed " + str(secretNum)+ ". Corret! "+"It took you " + str(numGuesses)+ " guesses.")