Explore
Connect
Documentation
Snippets
Log in
Sign up
1
2
3
4
# create a 3x5 matrix of 1's
matrix = [[
1
for
j
in
range
(
5
)]
for
i
in
range
(
3
)]
print
(matrix)
Enter to Rename, Shift+Enter to Preview
Run