Something is wrong here and i don't know what, this should be very easy to make but i have no idea what i'm doing wrong here.
class Start:
def myfunc():
first = ["Obama", "Trump", "Biden"]
second = ["finding", "looking at", "searching for"]
third = ["Monkey", "Bandits", "Police"]
firstselect = randrange(4)
secondselect = randrange(4)
thirdselect = randrange(4)
print(first[firstselect], second[secondselect], third[thirdselect])
choice = input("Want to generate again? (Y/N)")
if choice == "y":
myfunc()
else:
exit()
Aucun commentaire:
Enregistrer un commentaire