Skip to content

Commit 38c2828

Browse files
FullDivision and TakingExponents added
1 parent 28ea461 commit 38c2828

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Basic_Maths.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,16 @@ def Percentage(x,y):
3434
y=y
3535
global result
3636
result=x%y
37-
print("result: {0} % {1} = {2}". format(x,y,result))
37+
print("result: {0} % {1} = {2}". format(x,y,result))
38+
def FullDivision(x,y):
39+
x=x
40+
y=y
41+
global result
42+
result=x//y
43+
print("result: {0} // {1} = {2}". format(x,y,result))
44+
def TakingExponents(x,y):
45+
x=x
46+
y=y
47+
global result
48+
result=x ** y
49+
print("result {0} ** {1} = {2}". format(x,y,result))

0 commit comments

Comments
 (0)