-
Notifications
You must be signed in to change notification settings - Fork 1
/
juriapp.py
46 lines (26 loc) · 927 Bytes
/
juriapp.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
from typing import Counter
juripointlist = []
def juriquestion():
Counter = 1
while Counter < 6:
juripoint = int(input(" {}. juri enter the point : ".format(Counter)))
juripointlist.append(juripoint)
Counter += 1
def avaragesum(defaultliste):
top = 0
workmannum = len(defaultliste)
for i in juripointlist:
top = i + top
return top / workmannum
def comment():
if avarage >= 3.5 and avarage <= 5:
print("You didn't pass, try some more ")
elif avarage >=1 and avarage <=3 :
print("The jury never liked you :)")
elif avarage > 5 and avarage <=7:
print("You passed, good luck...")
elif avarage > 7 and avarage <=9:
print("You were amazing, the jury was amazed","your avarage : {}".format(avarage))
juriquestion()
avarage=avaragesum(juripointlist)
print(comment())