User:Xiaowan108/sandbox

This is my user sanbox!

Task 1


the list that stores the filenames: imgs

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

Q2. What keyword marks the start of a function definition? A2. use "function(frame)" to announce a function.

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

Task 5
Q1. What does %d+ match in a Lua pattern? A1. It represents all digits.

Q2. What does %w+ match in a Lua pattern? A2. It represents all ASCII alphanumeric characters.

Under are the result of "American-style date" encoder which supplying a parameter  in function