Simple addition program. : Integer : Data Type PYTHON TUTORIALS


PYTHON TUTORIALS » Data Type » Integer »

 

Simple addition program.


integer1 = 
integer2 = 2

sum = integer1 + integer2    # assignment of sum

print "Sum is", sum          # print sum



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Data Type
» Integer