Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python aritmethic print

x = 27
y = 15
 
print(f"{x} + {y} = {x+y}")
print(f"{x} - {y} = {x-y}")
print(f"{x} * {y} = {x*y}")
# Printing can also be made as follows:
print(x, "/", y, "=", (x / y))
Source by tmc.mooc.fi #
 
PREVIOUS NEXT
Tagged: #python #aritmethic #print
ADD COMMENT
Topic
Name
9+1 =