Transfer practice · Show the total of 2 + 6 on the first line, then the text "2 + 6" on the second. The expression and its written form are different.
Use a familiar idea in a different task. Read the changed requirement before running.
Show the total of 2 + 6 on the first line, then the text "2 + 6" on the second. The expression and its written form are different.
8 2 + 6
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.