Jump to content

User:DM224b/sandbox

From Wikipedia, the free encyclopedia

Task 2

[edit]

Going to the Sun Falls.jpg

second image: North Swiftcurrent Glacier (2).jpg

The filenames are stored in the list "imgs"

Task 3

[edit]

Which letter is conventionally used in Scribunto modules to hold the table of functions? Ans: p
What keyword marks the start of a function definition? Ans: function
What keyword marks the end of a function definition? Ans: end

Hello, world!

Task 4

[edit]

Hello from Lua to my friend Andy.
Hello from Lua to my friend Gammaburst_3000.
Hello from Lua to my friend Jimbo.

Task 5

[edit]

5 degree celsius is 41 degrees fahrenheit.
It is cold.

25 degree celsius is 77 degrees fahrenheit.
It is warm.

Task 6

[edit]

0 degree celsius is 32 degrees fahrenheit.
It is cold.


10 degree celsius is 50 degrees fahrenheit.
It is warm.


8 degree celsius is 46.4 degrees fahrenheit.
It is cold.

Lua error in Module:Sandbox/DM224b at line 18: attempt to perform arithmetic on global 'cel' (a string value).

Task 7

[edit]

2 times table
2
4
6
8
10
12
14
16
18
20

3 times table
3 times 1 is 3
3 times 2 is 6
3 times 3 is 9
3 times 4 is 12
3 times 5 is 15
3 times 6 is 18
3 times 7 is 21
3 times 8 is 24
3 times 9 is 27
3 times 10 is 30

4 times table
4 times 1 is 4
4 times 2 is 8
4 times 3 is 12
4 times 4 is 16
4 times 5 is 20
4 times 6 is 24
4 times 7 is 28
4 times 8 is 32
4 times 9 is 36
4 times 10 is 40
4 times 11 is 44
4 times 12 is 48

Task 8

[edit]

Hello Mum

Hello Dad

Hello Dad
Hello Mum
Hello Uncle Stan
Hello Aunty Elsie
Hello Brian

Hello Dad
Hello Mum
Hello Uncle Stan
Hello Aunty Elsie
Hello Brian

Hello Dad
Hello Mum
Hello Uncle Stan
Hello Aunty Elsie
Hello Brian
Hello James
Hello Tabby

Hello Dad
Hello Mum
Hello Uncle Stan
Hello Aunty Elsie
Hello Brian
Hello James
Hello Tabby
Hello Brienne