Question: # Exercise 1 # Use a `while` loop to print a count down from 100 in increments of 2 # Exercise 2 # Use a
# Exercise 1 # Use a `while` loop to print a count down from 100 in increments of 2
# Exercise 2 # Use a for ... in loop to iterate over `badlist` and check the type for # each value. For each value that is a string, use the `append` method # to add it to `goodlist`. Then print the results of `goodlist`. badlist = [42, 'purple', (90210, 58), 100, 'monkey', 'dishwasher'] goodlist = [ ]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
