Question: Consider the list below in the activecode. Write the expressions to do the following: 1. print letter 'C' from this list, 2. print letters 'C',

 Consider the list below in the activecode. Write the expressions to

Consider the list below in the activecode. Write the expressions to do the following: 1. print letter 'C' from this list, 2. print letters 'C', 'D', 'E' as a list, 3. print the length of this list, 4. print the first element of this list, 5. print the last element of this list, and 6. create a variable called grade and assign the third element ('C") from list letters list to it (print variable grade to make sure you did the right indexing). Warning: for all printouts use indexing and the name of the list (letters). You cannot do print('C')

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!