0

python, help

tab = [[0 for col in range(7)] for row in range(7)] for i in tab: for j in tab: print("1", end="") print() I have code like above. I don't know how to change it, because i want to have something like this: 1000001 1100011 1110111 1111111 1110111 1100011 1000001

24th Nov 2018, 7:51 PM
Kasia Herasymenko
Kasia Herasymenko - avatar
1 Réponse
0
This works super, but in exercise i have write that i must first ,make a list 7x7 that has all numbers 0
24th Nov 2018, 9:10 PM
Kasia Herasymenko
Kasia Herasymenko - avatar