-- Homework 11, challenge -- solution.

--[[
  nil is Lua's word for "there is no value here at all".
  It is not the same as 0 or "" or false. It is the absence
  of a value. A variable that has been declared but never
  assigned holds nil.
]]

local treasure
print("Before assignment:", type(treasure))   -- nil

treasure = "Gold Coin"
print("After assignment: ", type(treasure))   -- string
