Question: Write a pyhton code Consider mydict ={name : John,grades : [60,70,80]}.Write a line of code to replace the value of key name with name is

Write a pyhton code

Consider mydict ={name : John,grades : [60,70,80]}.Write a line of code to replace the value of key name with name is Ertan? Also write a line of code which adds a new key to mydictnamed student ID whose value is 50.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!