-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlessen.py
41 lines (37 loc) · 1.04 KB
/
lessen.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
# name = input('What is your name? - \n')
# age = int(input('Your age? - \n'))
# livein = input('Where are you live? - \n')
# print('This is', name)
# print('It is',age)
# print('(S)he live in', livein)
# print('How much it will be?')
# example = '4 * 100 - 56'
# ranswer= 4 * 100 - 56
# answer = input(example+'\n')
# if ranswer == int(answer):
# print('Success!')
# else:
# print('Wrongly')
# nums = []
# for i in range(4):
# nums.append(int(input('Enter the number {0}\n'.format(i + 1))))
# print(nums)
# p1 = nums[0] + nums[1]
# p2 = nums[2] + nums[3]
# p = p1 / p2
# print('Result = %.2f' % (p))
# q=[1,1,0,0]
# w=[1,0,1,0]
# for i in range(4):
# print('{0} and {1} = '.format(bool(q[i]),bool(w[i])), bool(q[i] and w[i]))
# print()
# for i in range(4):
# print('{0} or {1} = '.format(bool(q[i]), bool(w[i])), bool(q[i] or w[i]))
# print()
# print(True or False and True) # первым вычисляется and
# x=int(input())
# y=int(input())
# x = 'la'
# y = 'la'
# print(x == y)
print(24//10)