Addition
The addition operator in Python is the plus sign ("+").
The following statement adds the numbers 3 and 4 and prints the sum to the screen:
print (3 + 4)
Assignment
Write a program that prints the sum of 5, 6, and 7.
Save as "005.py".
The addition operator in Python is the plus sign ("+").
The following statement adds the numbers 3 and 4 and prints the sum to the screen:
print (3 + 4)
Assignment
Write a program that prints the sum of 5, 6, and 7.
Save as "005.py".