Solution:
Pro Tip: When you are getting an error or warning from the Python interpreter you should read the message carefully. The compiler or interpreter always gives a hint of our mistakes. Anyway, in your case, you are getting a SyntaxError because you’ve defined a dictionary with some mixed data. In python, a dictionary starts with a curly brace and ends with the same. For example:
dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'}
Now, have a close look at your defined dictionary. You missed the curly braces. You should have written it this way:
data = {'Name': ['Sam', 'Prince', 'Goragno', 'Abraham'], 'Qualification': ['Msc', 'Bsc', 'Msc', 'M.Phil']}
The dictionary looks good now. Should solve the error. Good day!