Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Recall that the Python list items are enclosed in square brackets ([ ]), and the individual items in list are separated by commas ( ).

image text in transcribed

Recall that the Python list items are enclosed in square brackets ([ ]), and the individual items in list are separated by commas ( ). So, for example, list containing three counties in WA will look like this: WACounties = ["King", "Snohomish", "Pierce"] and, a list containing a student's gpas in three CS classes like this: StudentCSClassGpas =[3.7,3.2,3.4] Write Python statements to create the following Python lists (to submit this, copy paste your answers): 1. List of 4 or more names of geometrical shapes 2. List of your friends in our class or college (just first names ok) 3. List of four grades (either GPAs on 0.0-4.0 scale, or Grades A-F scale) 4. List of 5 or more grocery items that you need to purchase to prepare dinner tonight 5. List of first six prime numbers starting at 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

7. What decisions would you make as the city manager?

Answered: 1 week ago

Question

8. How would you explain your decisions to the city council?

Answered: 1 week ago