Question: Use a list comprehension and the range function with a step to create a list of the multiples of 3 that are less than 30.
Use a list comprehension and the range function with a step to create a list of the multiples of 3 that are less than 30.
The output should be [3,6,9,12,15,18,21,24,27]
Python please.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
