Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

adding numbers in python

number1 = 22
number2 = 16


total_number = number1 + number2
print(total_number)
#the result should be 38  :)

number3 = 12

the_total_nmbr = total_number + 12
print(the_total_nmbr) #result should be 50 now
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #adding #numbers #python
ADD COMMENT
Topic
Name
2+6 =