help/problem_solfing.py

20 lines
708 B
Python
Raw Permalink Normal View History

2024-02-01 19:13:12 +01:00
#!/usr/bin/python3
2024-02-02 07:05:46 +01:00
states = [["DOES IT WORK?",0,2,"DON\' MESS WITH IT",""],
["DID YOU MESS WITH IT?",3,6,"IDIOT",""],
["DOES ANYONE ELSE KNOW?",5,4,"YOU STUPID FOOL",""],
["CAN YOU HIDE IT",0,5,"","YOU STUPID FOOL"],
["CAN YOU BLAME ANYONE ELSE?",0,5,"","YOU STUPID FOOL"],
["WILL THEY BELIEVE YOU?",0,5,"DUMP IT SMARTLY","YOU STUPID FOOL"]]
2024-02-01 19:13:12 +01:00
state = 1
while 1:
if state == 0:
print("NO PROBLEM!!")
exit()
2024-02-02 09:49:15 +01:00
active_data = states[state-1]
2024-02-01 19:13:12 +01:00
antwort = input(f"{active_data[0]} :")
if antwort == "yes":
state = active_data[1]
print(active_data[3])
else:
state = active_data[2]
print(active_data[4])