[SOLVED] SOLVED:Function that returns a list with all the numbers from 1 to n

15.99 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

Write a function that returns a list with all the numbers from 1 to n (inclusive) that are a multiple of mm . The function should have as parameters the numbers n and m , and return a list with the qualifying numbers.print all the numbers from 1 to n (inclusive) that they are multiples of m. The values of n and m should be stored in Python variables

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.