Question: Write the Python statements that will: Part I Create and prints a List called computer_lang that contains the words Python, C, Cobol. Print the number
Write the Python statements that will:
Part I
Create and prints a List called computer_lang that contains the words Python, C, Cobol.
Print the number items in computer_lang and verify that computer_lang is a list.
Add Java at the end of computer_lang. Then display the list.
Insert Rust in the second position in computer_lang. Then display the list.
Replace C with C++. Then display the list.
Remove Cobol from the list. Then display it.
Part II
Create and prints a Tuple called computer_lang1 that contains the words Python, C, Cobol.
Display computer_lang1 and verify that computer_lang1 is a Tuple.
Add Java to computer_lang1. If an error occurs, explain why?
Part III
Create a Dictionary data type named student_quiz with this data Tom, 90, Harry, 68, Lisa, 98, Mona, 83, Bill, 59.
Display student_quiz and verify that it is a dictionary.
Display Tom and Lisa grades.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
