Use addition to combine two round scores. Put the expression inside print so the calculated number appears in Output.
A fictional score has 6 points from one round and 4 from another. Use addition (+) to display their numeric total, 10.
10
Lines must stay in order. Spelling, capitalization and spaces inside a message matter.
print(3 + 4)The addition happens before print receives the result 7.
This activity reuses syntax you have already met.
An expression such as 6 + 4 produces a value. Quoting "6 + 4" would show those characters instead of calculating them.
Select a word or symbol in this authored example. Your editor draft stays unchanged.
3 4This is a private experiment copy. It does not replace your answer or complete the activity.
Your output will appear here.
Replace this code with the starter? Download your draft to keep a copy.
Your output will appear here.
Sign in with RoCreators to save private progress across devices. Community verification is separate.