User:Ste1la/sandbox

This is my sandbox!

Task 1


imgs

Task 2
Q1. Which letter is conventionally used in Scribunto modules to hold the table of functions? A1. p

Q2. What keyword marks the start of a function definition? A2. function

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

Task 5
Q1. What does %d+ match in a Lua pattern? A1. %d+ matches one or more digits, so it returns the longest sequence that matches the pattern.

Q2. What does %w+ match in a Lua pattern? A2. %w+ matches one or more alphanumeric characters.

month, day, year = string.match("October 31, 2018", "(%w+) (%d+), (%d+)")