-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPython project beta.py
157 lines (125 loc) · 4.15 KB
/
Python project beta.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
#print(What transformer character are you?)
##Each Character holds a different value each question adds up to the user score. At the end the user should be assigned to their correspondign character depending on the score they got
#Optimus Prime
#Megatron
#Bumblebee
#Elita-1
#Starscream
#Soundwave
#Shockwave
import time
import os
optimusprime = 0
megatron = 0
bumblebee = 0
elita = 0
starscream = 0
soundwave = 0
shockwave = 0
print("kind, loyal, cunning, ambitious, optimistic, hardworking, intelligent")
positive_trait = input("Choose A Positive Trait You Identify With")
if positive_trait == ("kind"):
optimusprime +=1
elif positive_trait == ("ambitous"):
megatron +=1
elif positive_trait == ("optimistic"):
bumblebee +=1
elif positive_trait == ("hardworking"):
elita +=1
elif positive_trait == ("cunning"):
starscream +=1
elif positive_trait == ("loyal"):
soundwave +=1
elif positive_trait == ("intelligent"):
shockwave +=1
##Apply and exception if the user does not type in one of the options listedkind
time.sleep(2)
os.system('clear')
print("Naive, Cowardly, Cruel, Stubborn, Unattentive")
negative_trait = input("Choose A Negative Trait You Identify With")
if negative_trait == ("Cruel"):
megatron +=1
starscream +=1
shockwave +=1
soundwave +=1
elif negative_trait == ("Naive"):
optimusprime +=1
bumblebee +=1
elif negative_trait == ("Stubborn"):
elita +=1
megatron +=1
## what is your favorite color?
#option counting towards Optimus Prime
#option counting towards Megatron
#option counting towards Bumblebee
#option counting towards Elita-1
#option counting towards Starscream
#option counting towards Soundwave
#option counting towards Shockwave
##what flavor best describes you
#option counting towards Optimus Prime
#option counting towards Megatron
#option counting towards Bumblebee
#option counting towards Elita-1
#option counting towards Starscream
#option counting towards Soundwave
#option counting towards Shockwave
##Night or day?
#option counting towards Optimus Prime
#option counting towards Megatron
#option counting towards Bumblebee
#option counting towards Elita-1
#option counting towards Starscream
#option counting towards Soundwave
#option counting towards Shockwave
#Autobots or decepticons
#option counting towards Optimus Prime
#option counting towards Megatron
#option counting towards Bumblebee
#option counting towards Elita-1
#option counting towards Starscream
#option counting towards Soundwave
#option counting towards Shockwave
##Do you see yourself
#option counting towards Optimus Prime
#option counting towards Megatron
#option counting towards Bumblebee
#option counting towards Elita-1
#option counting towards Starscream
#option counting towards Soundwave
#option counting towards Shockwave
#option counting towards Optimus Prime
#option counting towards Megatron
#option counting towards Bumblebee
#option counting towards Elita-1
#option counting towards Starscream
#option counting towards Soundwave
#option counting towards Shockwave
#option counting towards Optimus Prime
#option counting towards Megatron
#option counting towards Bumblebee
#option counting towards Elita-1
#option counting towards Starscream
#option counting towards Soundwave
#option counting towards Shockwave
#option counting towards Optimus Prime
#option counting towards Megatron
#option counting towards Bumblebee
#option counting towards Elita-1
#option counting towards Starscream
#option counting towards Soundwave
#option counting towards Shockwave
#option counting towards Optimus Prime
#option counting towards Megatron
#option counting towards Bumblebee
#option counting towards Elita-1
#option counting towards Starscream
#option counting towards Soundwave
#option counting towards Shockwave
#receive score - character
if (optimusprime < megatron) and (bumblebee > megatron):
print("you are not a deception ")
elif (optimusprime > megatron) and (bumblebee > megatron):
print("you are not a deception")
elif (optimusprime > megatron):
print("weeee")