secret = "test"
wrongCount = 0
maxWrongGuess = 7
while True:
	guess = str(input('Guess letter: '))
	if (guess in secret):
		print(guess + " was in the word!")
		secret = ''.join(secret.split(guess))
	else:
		print("Not in word")
		wrongCount += 1
	if (len(secret) == 0):
		print("You won!")
		break
	if (wrongCount >= maxWrongGuess):
		print("You're literal garbage")
		break