forked from kactlabs/python-75-hackathon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCricketComparisions.py
More file actions
59 lines (45 loc) · 1.3 KB
/
Copy pathCricketComparisions.py
File metadata and controls
59 lines (45 loc) · 1.3 KB
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
def Dhoni(x):
wk=['Adam Gilchrist',
'Kumar Sangakkara',
'Mark Boucher',
'Brendon Mccullum',
'Sarafraz Ahmed']
captians=['Grame Smith',
'Ricky Pointing',
'Steve Waugh',
'Stephen Fleming',
'Alastair Cook']
sixers=['Chris Gayle',
'Ab Devilliers',
'Rohit Sharma',
'Shahid Afridi',
'Brendon McCullum']
OdiScore=['Sourav Ganguly',
'Virat Kohli',
'Shane Watson',
'Faf Du Plesis',
'Sachin Tendulkar']
OdiAverage=['H M Amala',
'Trott',
'Joe root',
'Cooper',
'Mike Hussey']
if x==1:
print(*wk,sep="\n")
elif x==2:
print(*captians,sep="\n")
elif x==3:
print(*sixers,sep="\n")
elif x==4:
print(*OdiScore,sep="\n")
elif x==5:
print(*OdiAverage,sep="\n")
else:
print("Invalid Choice")
print("Enter 1 for similar Wicket Keepers""\n"
" 2 for similar Captians""\n"
" 3 for most six hitters""\n"
" 4 for highest OdiScore""\n"
" 5 for similar OdiAverages")
y=int(input())
Dhoni(y)