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
Gift_Card Interview SQL Analysis Conducted by Miranda Zhao
Omirp
Ej2_PYTHON_203700377.
myone
(P3) Fibonacci 2
abstract base class
Phython
gj4
Your mom
Faiha - Selection Sort