User:Smsingh34/sandbox

This is my user sandbox.

Task 1


imgs

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

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

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

Task 5
Q1. What does %d+ match in a Lua pattern?

%d+ matches the longest possible sequence of digits in a row, where there is at least one digit in the sequence.

Q2. What does %w+ match in a Lua pattern?

%w+ matches the longest possible sequence of alphanumeric characters in a row, where there is at least one alphanumeric character in the sequence.

To extract day, month, and year from an American-style date, I would use month, day, year instead of day, month, year in line 3 and would change the pattern to "(%w+) (%d+), (%d+)". I would also change the argument name to mdydate for consistency.

Task 6
Language Names:

Fallbacks for Abkhazian:

Fallbacks for Chinese:

Fallbacks for Quechua: