Question: How do you write this in Python? Write a function called print_numbers that has a list of integers called my_list as its parameter. Using a

How do you write this in Python?

How do you write this in Python? Write a function called print_numbers

Write a function called print_numbers that has a list of integers called my_list as its parameter. Using a continue statement and a for loop, the function prints every number in my_list except for multiples of 3. Sample Input 1: 2 5 36 53 31 Sample Output 1: 2 5 53 31 Sample Input 2: 3 6 9 12 5 2 1 Sample Output 2: 5 2 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!