Skip to content

Commit 75918d8

Browse files
authored
Added first gui
1 parent 279c001 commit 75918d8

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Python_Basics_2/first_gui.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Our first GUI
2+
pictures = [
3+
[0, 0, 0, 1, 0, 0, 0],
4+
[0, 0, 1, 1, 1, 0, 0],
5+
[0, 1, 1, 1, 1, 1, 0],
6+
[1, 1, 1, 1, 1, 1, 1],
7+
[0, 0, 0, 1, 0, 0, 0],
8+
[0, 0, 0, 1, 0, 0, 0]
9+
]
10+
for i in pictures:
11+
for j in i:
12+
if j == 0:
13+
print(' ', end='')
14+
else:
15+
print('*', end='')
16+
print('')

0 commit comments

Comments
 (0)