# Untitled

a guest
Aug 21st, 2019
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. import random
2.
3. print("First, tell me what your options are.")
4.
5. option1 = input("Option 1: ")
6. option2 = input("Ok. Now tell me the other option: ")
7.
8. option1a = input("nGood. Now tell me a reason why '{}' is a good choice: ".format(option1))
9.
10. option1b = input("Ok. Now tell me another reason why '{}' is a good choice: ".format(option1))
11.
12. option1c = input("Ok. Now tell me another reason why '{}' is a good choice: ".format(option1))
13.
14. option2a = input("nThats all for '{}'. Now tell me why '{}' is a good choice: ".format(option1, option2))
15.
16. option2b = input("Now tell me another reason why '{}' is a good choice: ".format(option2))
17.
18. option2c = input("Now tell me another reason why '{}' is a good choice: ".format(option2))
19.
20. option1aw = int(input("nNow let's evaluate the options. Regarding '{}', "
21. "from 1 to 5, tell me how important is '{}'? ".format(option1, option1a)))
22.
23. option1bw = int(input("Still regarding '{}', from 1 to 5, tell me how important is '{}'? ".format(option1, option1b)))
24.
25. option1cw = int(input("How about '{}', from 1 to 5, tell me how important it is: ".format(option1c)))
26.
27. option2aw = int(input("nNow let's evaluate the rest of the options. Regarding '{}',"
28. " from 1 to 5, tell me how important is '{}'? ".format(option2, option2a)))
29.
30. option2bw = int(input("Still regarding '{}', from 1 to 5, tell me how important is '{}'? ".format(option2, option2b)))
31.
32. option2cw = int(input("How about '{}', from 1 to 5, tell me how important it is: ".format(option2c)))
33.
34. prompt = input("nWe'll calculate now. Click enter when you are ready to see the results. > ")
35.
36.
37. option1result = option1aw + option1bw + option1cw
38.
39. option2result = option2aw + option2bw + option2cw
40.
41.
42. options = [option1, option2]
43.
44. def coinflip():
46. print(options[random.randint(0, len(options)-1)])
47.
48. if option1result > option2result:
49. print("n'{}' is your best choice based on the reasons you gave me. ".format(option1))
50.
51. elif option1result == option2result:
52. print("nHonestly, both are good options. Do you want to flip a coin? Press enter. ")
53. input()
54. coinflip()
55.
56. else:
57. print("n'{}' is your best choice based on the reasons you gave me. ".format(option2))
58.
59.
60. quit()
RAW Paste Data