User:Zzzminorinzzz/sandbox

this is my user sandbox.

Task 1


imgs

Task 2
Q1. What keyword marks the start of a function definition? A1. function

Q2. Which letter is conventionally used in Scribunto modules to hold the table of functions? A2. p

Q3. What keyword marks the end of a function definition? A3. end

Task 5
Q1. What does %w+ match in a Lua pattern? A1. ASCII alphanumeric characters Q2. What does %d+ match in a Lua pattern? A2. Digits

local m, d, y = string.match(dmy, "(%w+) (%d+), (%d+)")