User:Shreyansh Saboo/sandbox

This is my(Shreyansh Suresh Saboo) Sandbox. I am taking part in GCI And working with Wikimedia on the task-Lua Task 1 - Introduction to Lua in Wikipedia. I am grateful to work with them.

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. get one or more words

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

The pattern I would be using to extract the day, month and year from an American-style date like "October 31, 2018" would be (%w+) (%d+), (%d+)