Chat, I might just be braindead, cause I can’t get this code to work more than once. I’m pretty new at this, but I didn’t think I was that new :’)
import random
def number_fcuk():
right_answer = random.randint(1,10)
points = 0
while True:
if points == 10:
print("alright, I don't need you anymore. Byeeeeee :D")
break
guess = int(input("Howdy :D Guess a number or you'll probably die :D Well, what're you waiting for?!:"))
if guess == right_answer:
points += 1
print("You actually got that right? I guess you aren't as stupid as I thought. Let's see if it's a lucky streak after all :D I think you have about ",(points),"points by now.")
right_answer = random.randint
elif guess + 1 == right_answer or guess - 1 == right_answer:
print("...you know what, you can have that one.")
points += 0.5
elif guess > right_answer:
print("Try thinking smaller. Maybe not as small as your IQ, but I digress")
else:
print("What was that, your body count? Maybe the size of your friend group? Oh, oh! The amount of sh!ts I give about your non-existent love life!")
number_fcuk()