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

Intermediate Algebra
19th Edition
ISBN:9780998625720
Author:Lynn Marecek
Publisher:Lynn Marecek
Chapter2: Solving Linear Equations
Section2.2: Use A Problem Solving Strategy
Problem 81E: List five positive thoughts you can say to yourself that will help you approach word problems with a...
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
Intermediate Algebra
Intermediate Algebra
Algebra
ISBN:
9780998625720
Author:
Lynn Marecek
Publisher:
OpenStax College
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
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