Skip to content

Commit bd6e950

Browse files
committed
Division of integer and float type
1 parent cf5769d commit bd6e950

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Division.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
if __name__ == '__main__':
2+
a = int(input())
3+
b = int(input())
4+
print(a//b)
5+
print(a/b)
6+
7+
"""
8+
// gives integer division
9+
/ gives float division
10+
"""

0 commit comments

Comments
 (0)