Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Arithmetic Operations
num1 = 10 num2 = 20 sum = float(num1) + float(num2) min = float(num1) - float(num2) mul = float(num1) * float(num2) div = float(num1) / float(num2) print('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) print('The subtraction of {0} and {1} is {2}'.format(num1, num2, min)) print('The multiplication of {0} and {1} is {2}'.format(num1, num2, mul)) print('The division of {0} and {1} is {2}'.format(num1, num2, div))
run
|
edit
|
history
|
help
1
lower and upper alphabets checker
Binary number into Decimal
PyNoneOr
LinearSearch.py
PyAnchorAlter
guesssss
PyMenuClass2
PySlots
Add missing names
Student