Question: In python: given the code below, answer the following: dict={name: Plato, country: Ancient Greece, born: -427, teacher: Socrates, student: Aristotle} 1-Type your answer below to
In python:
given the code below, answer the following:
dict={"name": "Plato", "country": "Ancient Greece", "born": -427, "teacher": "Socrates", "student": "Aristotle"}
1-Type your answer below to print out when plato was born
2- Change Plato's birth year from B.C. 427 to B.C. 428.
3- add the key "work" to dict with values shown below. "work": ["Apology", "Phaedo", "Republic", "Symposium"]
4- print out all the (key, value) pair of the dictionary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
