Console
This commit is contained in:
parent
96f35476df
commit
2b812ce89a
@ -9,4 +9,5 @@ def draw_square():
|
||||
|
||||
draw_square()
|
||||
|
||||
|
||||
sophia.screen.mainloop()
|
1
02_Console/lesson/01_hello_world.py
Normal file
1
02_Console/lesson/01_hello_world.py
Normal file
@ -0,0 +1 @@
|
||||
print('Hello World!')
|
3
02_Console/lesson/02_lines.py
Normal file
3
02_Console/lesson/02_lines.py
Normal file
@ -0,0 +1,3 @@
|
||||
for _ in range(100):
|
||||
# print('Ich darf Sophia nicht umdrehen.')
|
||||
print('Ich darf Sophia nicht umdrehen.', end=' ')
|
7
02_Console/lesson/03_expressions.py
Normal file
7
02_Console/lesson/03_expressions.py
Normal file
@ -0,0 +1,7 @@
|
||||
print(3 * 4 - 8 // 2)
|
||||
|
||||
print(3 * (4 - 8) // 2)
|
||||
|
||||
print(4.0 + 2)
|
||||
print (4 * 2.0)
|
||||
print(4 / 2)
|
Loading…
x
Reference in New Issue
Block a user