Skip to content

Instantly share code, notes, and snippets.

@norek
Created August 23, 2018 15:44
Show Gist options
  • Save norek/1514baf6e23c28c262e340379581924d to your computer and use it in GitHub Desktop.
Save norek/1514baf6e23c28c262e340379581924d to your computer and use it in GitHub Desktop.
haslo = "jakieshaslo"
licznik = 0;
ilosc_bledow = 3;
while True :
print("wpisz haslo:")
x= input()
if x==haslo :
print ("witam")
break
elseif
print("zle haslo")
licznik++;
if licznik == ilosc_bledow
usij na 120 sec
licznik = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment