subject

Consider the following dictionary Marks and answer the questions from (i) to (iv). Marks={“Lina”:80, “Fatima”:75, “Priya”:82}
(i) Ms. Shoba wants to change the name Lina to Linda. Is it allowed in python?
If no, state the reason. 1
(ii) Help her to select the command to get all the marks from the dictionary. 1
a) Marks. value()
b) Marks. values()
c) Marks. items()
(iii) She needs to change the mark of Priya to 87. Help her choose the command
to do so. 1
a) Marks. update[Priya:87]
b) Marks[Priya]=87
c) Marks[“Priya”]=87
(iv) She wanted to add a new student “Nithya” with marks 66 . she used the following command and got error. 1
Marks. append[“Nithya”]=66
Help her to write the correct command.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 24.06.2019 02:10
Consider the usual algorithm to convert an infix expression to a postfix expression. suppose that you have read 10 input characters during a conversion and that the stack now contains these symbols: (5 points) | | | + | | ( | bottom |_*_| now, suppose that you read and process the 11th symbol of the input. draw the stack for the case where the 11th symbol is
Answers: 2
question
Computers and Technology, 24.06.2019 06:30
Ineed to know the anwser to all these questions
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
Need fast im timed in a paragraph of 125 words, explain at least three ways that engineers explore possible solutions in their projects.
Answers: 2
You know the right answer?
Consider the following dictionary Marks and answer the questions from (i) to (iv). Marks={“Lina”:80...
Questions
question
Physics, 20.10.2021 01:20
question
English, 20.10.2021 01:20
question
History, 20.10.2021 01:20