Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

doing math in python

number_1 = 2
number_2 = 5

total_number = number_1 * number_2
 #the result should be 10  :)

total_number2 = number_2 - number_1
 #result should be 3 :)

number3 = number_1 + number_2
 # result should be 7
Source by codefreelance.net #
 
PREVIOUS NEXT
Tagged: #math #python
ADD COMMENT
Topic
Name
1+7 =