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.
2 parents 39ad935 + b81da74 commit 3bf53daCopy full SHA for 3bf53da
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