Text Size
Text Size
Exit Full Screen
Python Mini
Show
Source Code
View Source Code in Full Screen
Open in New Tab
n1 = int(input("1st number:")) n2 = int(input("2nd number:")) add = (n1 + n2) sub = (n1 - n2) div = (n1 / n2) mul = (n1 * n2) print("addition:") print(add) print("subtraction:") print(sub) print("division:") print(div) print("multiplication:") print(mul)
math.py
( around 14 lines python code )
Published By:
SpooderMan
Published on
2023-01-10T17:18:42Z
Python Mini
- an
OYOclass
application,
own your own class today
.
Run
Result
×
Error message shows here