diff --git a/pokus-pocitac-hada.py b/pokus-pocitac-hada.py new file mode 100644 index 0000000..e6bcc8a --- /dev/null +++ b/pokus-pocitac-hada.py @@ -0,0 +1,7 @@ +# Počítač háda číslo, které si myslím. +import random + +while True: + prvni_cislo = random.randint(1, 1000) + + print("Moje číslo je", prvni_cislo, ".")