Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Build a Grid

A nested list is a list that contains other lists. You can use them to represent grids!

Read two numbers: rows and cols. Build a grid (a list of lists) where each cell contains ".". Then print each row by joining its items with spaces.

Example:

Input:

text
2
3

Output:

text
. . .
. . .

💡 Hints

?Hint 1
🔒Hint 2
🔒Hint 3
python