We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfdb312 commit b81da74Copy full SHA for b81da74
Code/division.py
@@ -0,0 +1,8 @@
1
+
2
+firstnum = int(input("First number: "))
3
+secondnum = int(input("Second number: "))
4
5
+if secondnum == 0:
6
+ print("Division by zero illegal.")
7
+else:
8
+ print("The result is " + str(firstnum/secondnum))
0 commit comments