Browse Source

Console

main
Oliver Hofmann 5 months ago
parent
commit
2b812ce89a

+ 1
- 0
01_Turtle/lesson/05_square.py View File

@@ -9,4 +9,5 @@ def draw_square():

draw_square()


sophia.screen.mainloop()

+ 1
- 0
02_Console/lesson/01_hello_world.py View File

@@ -0,0 +1 @@
print('Hello World!')

+ 3
- 0
02_Console/lesson/02_lines.py View File

@@ -0,0 +1,3 @@
for _ in range(100):
# print('Ich darf Sophia nicht umdrehen.')
print('Ich darf Sophia nicht umdrehen.', end=' ')

+ 7
- 0
02_Console/lesson/03_expressions.py View 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…
Cancel
Save