← Back to journey

Bring a small lobby to life

Print a number

v7 · Activity 5 of 8 · Scores · 3 min Runs here

Workshop progress · step 5 of 8
Optional learning visualization
Scene choices
Chapter outline
Loading draft…
Activity 5 · Scores

Numbers can go directly inside print without quotation marks. print(10) displays the number 10.

Change 10 to 25, then Run code. Output should show 25. The number is a value for this run, not saved game currency.

Your task

Display the number 25 on one line, without quotation marks.

Expected output
25

Lines must stay in order. Spelling, capitalization and spaces inside a message matter.

Syntax in this activity

New syntax: 25

Earlier ideas used here
  • debugging
What this exercise checks

Actual Output · exact lines and order · extra output forbidden.

Successful execution is required. A compile error, runtime error or execution limit never completes this task.

Whitespace, matching single or double quotes, and different variable names are allowed. Output-only tasks accept any valid Luau solution meeting the displayed result and value types. Construct tasks use the stated straight-line form.

Explain this code

Select a word or symbol in this authored example. Your editor draft stays unchanged.

Choose a highlighted part to see what it means.
Your goal

Display the number 25 on one line, without quotation marks.

Run code to see what happens. Check solution to test the activity.

Reset starter

Replace this code with the starter? Download your draft to keep a copy.

Code

Luau
Luau keyword highlighting · Ctrl/⌘ + Enter: Run · Esc: leave editor

Your output will appear here.

Ready