Skip to content

Instantly share code, notes, and snippets.

@ricardovsilva
Created February 1, 2016 15:50
Show Gist options
  • Save ricardovsilva/1f343fbec41d8c9466ab to your computer and use it in GitHub Desktop.
Save ricardovsilva/1f343fbec41d8c9466ab to your computer and use it in GitHub Desktop.
n = int(raw_input())
students_data = {}
for i in range(0,n):
#transforms each item of input in a string that contain de name of a student and their notes
aux = str.split(raw_input())
#remove the first item of a list which is the name of a studant
student_name = aux.pop(0)
#take the notes of a studant
student_notes = aux
students_data[studant_name] = studant_note
students_data
#verifide_student = str(raw_input())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment