Question: Topic .Data Collection:s Learning Objectives 1. Understand lists and tuples in python 2. Understand list methods 3. Understand and implement dictionaries 4. Understand how to


Topic .Data Collection:s Learning Objectives 1. Understand lists and tuples in python 2. Understand list methods 3. Understand and implement dictionaries 4. Understand how to sort lists Activities 1. In-class program examples (updated previous hw assignments to use new tools, do not turn in but keep for your reference) 2. Programming homework assignment (to be turned in): Write a script that implements the Sieve of Eratosthenes. (See problem 10 in the textbook chapter 11 for description of sieve algorithm) Your program should prompt the user for n and use the sieve algorithm to find all the primes less than or equal to n. Your program should should return the list of primes to the user for later calculation. Your program should also print them to the screen (example: "2 is a prime number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
