dashboard
repositories
filestore
activity
search
login
python-kurs
/
example-projects-2024
example-projects-2024
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
neue Gestaltung
hbui
2024-07-24
a9f3557648135eca0766a51baddf7d39a22a6e01
[python-kurs/example-projects-2024.git]
/
python-grundlage
/
matrix-init.py
1
2
3
4
5
6
7
8
9
import
random
num_of_col
=
4
num_of_row
=
3
x
=
[
[
random
.
randint
(
1
,
6
)
for
i
in
range
(
0
,
num_of_col
)]
for
j
in
range
(
0
,
num_of_row
)
]
print
(
x
)