Advertisement
ABIX_Edukacja

Untitled

Nov 5th, 2020
1,795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. # Tutaj pisz swój kod, młody padawanie ;-)
  2. # to jest szkic programu
  3.  
  4. # losowanie liczby do gry
  5. from random import randint
  6. losowana_liczba = randint(1,10)
  7.  
  8. # A - przywitanie
  9. imie = input("Podaj swoje imię: ")
  10.  
  11. def srednia():
  12.     # liczenie sredniej
  13.     return wynik
  14.  
  15. def zgadywanka(podane_imie, losowana_liczba_do_zgadniecia):
  16.     # kod zgadywanki
  17.  
  18. # reszta kodu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement