Skip to content

Commit e47e2b5

Browse files
Add files via upload
1 parent d32fd46 commit e47e2b5

4 files changed

Lines changed: 50 additions & 0 deletions

File tree

Binary file not shown.

3rd day/numeric.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
a=15
2+
b=10
3+
# programe of addition
4+
sum = a+b
5+
print(sum)
6+
7+
sub = a-b
8+
print(sub)
9+
mul= a*b
10+
print(mul)

3rd day/oando.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
result = 5 + 3 # here 5 and 3 are operands and + is operatore here
2+
print(result)

3rd day/operators .py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
"""
2+
Baisc operators are :-
3+
addition
4+
subtraction
5+
divison
6+
multiplication
7+
modulus
8+
"""
9+
a = 10
10+
b = 20
11+
12+
result = a+b
13+
print("The addition of both the number is : " , result)
14+
15+
result = a - b
16+
print("The subtraction of both the number is :" , result)
17+
18+
result = a* b
19+
print("The multiplication o both number is :" , result )
20+
21+
result = a/b
22+
print("The divison of both the numbers is :" , result)
23+
24+
result = a%b
25+
print("The modulus of both the number is :", result)
26+
"""
27+
Floor divison
28+
exponital
29+
"""
30+
a = 17
31+
b = 9
32+
33+
result = a//b
34+
print("The floor divison of both the number is :" , result)
35+
a = 2
36+
b=2
37+
result = a**b
38+
print(result)

0 commit comments

Comments
 (0)