Transfer practice · Predict the two outputs, then run: first display 4 + 3, then display the text "4 + 3". One instruction calculates; the other shows the expression as text.
v3 · Activity 1 of 1 · addition · numbers · 2 min Runs here
Use a familiar idea in a different task. Read the changed requirement before running.
Predict the two outputs, then run: first display 4 + 3, then display the text "4 + 3". One instruction calculates; the other shows the expression as text.
7 4 + 3
Lines must stay in order. Spelling, capitalization and spaces inside a message matter.
print(4 + 6)Luau calculates 10, then displays the numeric result.
New syntax: +
The + sign adds numbers. Luau calculates 2 + 3 first, then gives the result to print.
This activity checks the displayed numeric result and asks you to use addition. The Luau parser checks for + in your program; different valid code is accepted.
Select a word or symbol in this authored example. Your editor draft stays unchanged.
2 3This 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.