This commit is contained in:
2026-03-17 12:19:16 +01:00
parent bfe101a7ad
commit e77824cd83
3 changed files with 36 additions and 0 deletions

5
dzien_01/d_01.py Normal file
View File

@@ -0,0 +1,5 @@
print("HEJ hello")
imie = "Adasiek"
print("siemka,", imie)
#f-string
print(f"siemka, {imie}")

16
dzien_01/d_02.py Normal file
View File

@@ -0,0 +1,16 @@
from time import sleep
imie = "cosik"
print(f"Siemanko: {imie}")
while True:
print("To jest wewnątrz pętli")
sleep(1)
print("po czekaniu")
dana = input("Podaj swoje imie:")
print(f"Hej: {dana}")
if dana == "Q":
break
print("koniec")
print("A to?")

15
dzien_01/d_03_pong.py Normal file
View File

@@ -0,0 +1,15 @@
import pgzrun
# Start programu
WIDTH = 1000
HEIGHT = 676
TITLE = "PONG - najlepsza gra na świecie ;-)"
# Najważniejsze funkcje sterujące
def update():
pass
def draw():
screen.blit("tomulus64.jpg", (0,0) )
pgzrun.go()