Use slices from the following list of lists that contains information about characters in Harry Potter to answer the questions below. Each sublist contains the last name, first name (if the character has two names) and occupation of a single character. Paste the list into your code to get started.
harry_potter_characters = [['Potter', 'Harry', 'Student'], ['Dobby',
'House Elf'], ['Granger', 'Hermione', 'Student'], ['Hagrid', 'Rubeus',
'Keeper of Keys and Grounds']]
Print the following lines with the the appropriate answers inserted into the blanks by taking slices from the list: