help/problem_solfing_oneline.py

4 lines
599 B
Python
Raw Normal View History

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