Python Dictionary MCQs

Question 6: years={1995:'Java', 1972:'C', 1994:'Python'} is a dictionary with key-value pairs of the year of invention and name of a language. The expression list(years) will return ____________.

Question 7: What will be the output of the following code?

years={1995:'Java', 1972:'C', 1994:'Python'}
print(years.get(2000))