Advertisement
Bit1

Untitled

Apr 26th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1.  
  2. def main()
  3.  
  4.     students = []
  5.  
  6.     more_students = True:
  7.  
  8.     while more_students:
  9.         sid = int(input("Enter ID:"))
  10.         fname = input("Enter last name:")
  11.         lname = input("Enter last name:")
  12.         mark - float(input("Enter mark:"))
  13.  
  14.         student = [sid, lname, fname, mark]
  15.  
  16.         students += student
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement