Question: Write a program using the for - loop. The program should: Take a positive integer as input. Return a list of all the integers between

Write a program using the for-loop. The program should:
Take a positive integer as input.
Return a list of all the integers between 0 to the input (including the input number) which are the multiple of 6.
If-else statement is not allowed in Problem 5
1.5.1 Test cases
intList(24)==[0,6,12,18,24]

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!