-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathoperators.py
More file actions
79 lines (41 loc) · 688 Bytes
/
Copy pathoperators.py
File metadata and controls
79 lines (41 loc) · 688 Bytes
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
x = True
y = True
print('x and y is',x and y)
print('x or y is',x or y)
print('not x is',not x)
# a = 45
# b = 45
# print('a > b', a > b)
# print('a < b', a < b)
# print('a >= b', a >= b)
# print('a <= b', a <= b)
# print('a == b', a == b)
# print('a != b', a != b)
# a = 6
# # a = a + 5
# a += 5
# a -= 5
# a *= 5
# a /= 5
# print(a)
# first_number = 4
# second_number = 7
# third_number = 8
# average = (first_number +
# second_number +
# third_number) / 3
# print(average)
# a = 5
# b = 3
# # This line is for adding
# c = a+b
# print(c)
# '''
# print(a+b)
# print(a-b)
# print(a*b)
# print(a/b)
# print(a%b)
# print(a//b)
# print(a**b)
# '''