User:Subscriptshoe9/sandbox

Task 1


imgs

Task 2
Q1. What keyword marks the start of a function definition? A1. It's "function".

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

Q3. What keyword marks the end of a function definition? A3. It's "end".

Task 5
Q1. What does %w+ match in a Lua pattern? A1. It matches one or more alphanumeric characters in a Lua pattern.

Q2. What does %d+ match in a Lua pattern? A2. It matches one or more digits in a Lua pattern.

US-style will be : local m, d, y = string.match(dmy, "(%w+) (%d+), (%d+)")