LearnPy Hub
← NumPy problems
Easy

An Array Full of One Value

Read r, c and v and print np.full((r, c), v).tolist().

Input

Three integers on one line.

Output

A nested list.

Sample 1

Input
2 3 7
Output
[[7, 7, 7], [7, 7, 7]]

Sample 2

Input
1 1 0
Output
[[0]]
solution.py
Output appears here
An Array Full of One Value · Python practice problem · LearnPy Hub