feedback
user_0100208
plain_text
3 years ago
5.2 kB
2
Indexable
#Q1 while True: print("Q1: 您覺得這家酒吧的氣氛適合?") print("a.派對 b.聚會 c.約會 d.單人行 e.以上皆是 f.其他") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e,f") if x=="f": print ("告訴我們你的想法?") y=input() break else: break #Q2 while True: print("Q2: 您覺得這家酒吧音樂如何?") print("a.音樂品味很好 b.音樂品味不錯 c.沒意見 d.音樂品味不好 e.音樂品味很糟 f.其他") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e,f") if x=="f": print ("告訴我們你的想法?") y=input() break else: break #Q3 while True: print("Q3: 您覺得這家酒吧環境如何?") print("a.十分乾淨 b.乾淨 c.沒意見 d.不太好 e.非常糟 f.其他") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e,f") if x=="f": print ("告訴我們你的想法?") y=input() break else: break #Q4 while True: print("Q4: 您覺得這家酒吧的酒價位如何?") print("a.很貴(一杯400以上) b.偏貴(一杯300以上) c.普通(一杯200以上) d.便宜(一杯150以上) e.超便宜(150以下) f.其他") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e,f") if x=="f": print ("告訴我們你的想法?") y=input() break else: break #Q5 while True: print("Q5: 您覺得這家酒吧的炸物價位如何?") print("a.很貴(一份400以上) b.偏貴(一份300以上) c.普通(一份200以上) d.便宜(一份150以上) e.超便宜(150以下) f.其他 g.沒有點") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f" and x!="g": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e,f,g") if x=="f": print ("告訴我們你的想法?") y=input() break else: break #Q6 while True: print("Q6: 您覺得這家酒吧的食物如何?") print("a.很貴(一份400以上) b.偏貴(一份300以上) c.普通(一份200以上) d.便宜(一份150以上) e.超便宜(150以下) f.其他 g.沒有點") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f" and x !="g": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e,f") if x=="f": print ("告訴我們你的想法?") y=input() break else: break #Q7 while True: print("Q7: 您覺得這家酒吧的酒品質如何?") print("a.整體來說品質很好 b.某些酒品質不錯 c.整體來說都很普通 d.某些酒品質很糟 e.整體來說品質都很糟 f.其他 g.沒有點") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f" and x !="g": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e,f") if x=="f": print ("告訴我們你的想法?") y=input() break else: break #Q8 while True: print("Q8: 您覺得這家酒吧何種酒類最值得推薦?") print("a.啤酒 b.雞尾酒 c.蒸餾酒 d.shot e.其他 f.沒有點") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e,f") if x=="e": print ("告訴我們你的想法?") y=input() break else: break #Q9 while True: print("Q9: 您覺得這家酒吧何種食物最值得推薦?") print("a.炸物 b.輕食 c.正餐 d.甜點 e.其他 f.沒有點") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e,f") if x=="e": print ("告訴我們你的想法?") y=input() break else: break #Q10 while True: print("Q10: 您會多推薦這間酒吧給你認識的人?") print("a.非常推薦 b.推薦 c.沒意見 d.不推薦 e.非常不推薦 f.其他") x=input() try: if x != "a" and x !="b" and x !="c" and x !="d" and x !="e" and x!="f": raise KeyboardInterrupt except KeyboardInterrupt: print ("Error! 請輸入a,b,c,d,e") if x=="f": print ("告訴我們你的想法?") y=input() break else: break print("感謝您的回饋!")
Editor is loading...