Advertisement
PawsonCz

Untitled

May 2nd, 2020
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. oceny = []
  2.  
  3. student ={
  4.     'nazwisko': input('enter your name: ').title(),
  5.     'przedmiot': 'podstwy Pythona'.upper(),
  6.     'nr indexu': input('podaj numer indexu: '),
  7.     'ocena': float(input('podaj ocenę z egzaminu: '))
  8.     }
  9. for ocena in oceny:
  10.  
  11.     oceny.append(ocena)
  12.  
  13. if ocena < 3.5:
  14.     print('możesz poprawiać')
  15. else:
  16.     print('poproszę o index - wpisujemy')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement