Menu
CoddyTech

Recap - Status Report

Part of the Fundamentals section of Coddy's Lua journey. Lesson 33 of 90.

challenge icon

Challenge

Easy

Create a comprehensive player status report that demonstrates your mastery of variables, data types, and output formatting. Declare three variables: playerName with the value "Shadow", totalScore with the value 4750, and isActive with the value true. Then build the status report with string concatenation and one print() statement per line. Print exactly these three lines:

Player Name: Shadow
Score: 4750
Active Status: true

Try it yourself

-- TODO: Write your code here
-- Declare the three variables: playerName, totalScore, and isActive
-- Then create the multi-line status report using print() statements

All lessons in Fundamentals

Practice on your own: Online Lua compiler