Advertisement
michalmatczak

Untitled

Apr 18th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. wynik = 0
  2. x = 0
  3.  
  4.  
  5. while x < 5:
  6. wynikSedziow = int(input("Podaj ocenę w przedziale od 12 do 20: "))
  7. if(wynikSedziow < 12 or wynikSedziow > 20):
  8. print("Błędna ocena")
  9. continue
  10. else:
  11. print("Dziękujemy za wystawienie oceny")
  12. x +=1
  13. wynik += wynikSedziow
  14.  
  15. #wynikSedziow = [a, b, c, d, e]
  16. wspolnaNota = [wynikSedziow]
  17. print(wynik)
  18. print(wynikSedziow)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement