1. Print letter 'C' from this list 2. Print letters 'C', 'D', 'E' 3. Print the length of this list 4. Print the first element of this list 5. Print the last element of this list 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) Your output should look like: C CDE 5 A E C Warning: for all printouts use indexing and the name of the list (letters). For example, you cannot do print('C')! letters = ['A', 'B', 'C', 'D', 'E'] Check syntax

Algebra: Structure And Method, Book 1
(REV)00th Edition
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Chapter7: Applying Fractions
Section7.6: Percents Problems
Problem 16WE
icon
Related questions
Question
1. Print letter 'C' from this list
2. Print letters 'C', 'D', 'E'
3. Print the length of this list
4. Print the first element of this list
5. Print the last element of this list
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)
Your output should look like:
C
CDE
5
A
E
C
Warning: for all printouts use indexing and the name of the list (letters). For example, you cannot do print('C')!
letters = ['A', 'B', 'C', 'D', 'E']
Check syntax
Transcribed Image Text:1. Print letter 'C' from this list 2. Print letters 'C', 'D', 'E' 3. Print the length of this list 4. Print the first element of this list 5. Print the last element of this list 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) Your output should look like: C CDE 5 A E C Warning: for all printouts use indexing and the name of the list (letters). For example, you cannot do print('C')! letters = ['A', 'B', 'C', 'D', 'E'] Check syntax
Expert Solution
steps

Step by step

Solved in 1 steps with 1 images

Blurred answer
Recommended textbooks for you
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,