-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtableslearner.py
85 lines (58 loc) · 1.13 KB
/
tableslearner.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
import webbrowser
scores = 0
a = int(input('2 x 1: '))
if 2 * 1 == a:
scores += 1
else:
scores += 0
b = int(input('2 x 2: '))
if 2 * 2 == b:
scores += 1
else:
scores += 0
c = int(input('2 x 3: '))
if 2 * 3 == c:
scores += 1
else:
scores += 1
d = int(input('2 x 4: '))
if 2 * 4 == d:
scores += 1
else:
scores += 0
c = int(input('2 x 5: '))
if 2 * 5 == c:
scores += 1
else:
scores += 0
d = int(input('2 x 6: '))
if 2 * 6 == d:
scores += 1
else:
scores += 0
e = int(input('2 x 7: '))
if 2 * 7 == e:
scores += 1
else:
scores += 0
f = int(input('2 x 8: '))
if 2 * 8 == f:
scores += 1
else:
scores += 0
g = int(input('2 x 9: '))
if 2 * 9 == g:
scores += 1
else:
scores += 0
h = int(input('2 x 10: '))
if 2 * 10 == h:
scores += 1
else:
scores += 0
print('your scores are:',scores)
share = input('do you want to share your scores to your friends: ')
if share == 'yes':
webbrowser.open('https://web.whatsapp.com/send?text=' + 'I won in a app called tables learner my scores are ' + str(scores) + ' if you want to get scores like this then install tableslearner and show my your scores like this')
if share == 'no':
pass