About 11,500,000 results
Open links in new tab
  1. python - Create a list of multiples of a number - Stack Overflow

    Create a Python 3 function that takes two numbers (value, length) as arguments and returns a list of multiples of value until the size of the list reaches length. """ Value is number to be multiply. …

  2. Python program to print multiples of a given number

    Apr 29, 2023 · The output of the program to print multiples of a given number in python is as follows: PS C:\Users\DEVJEET\Desktop\tutorialsInHand> python code.py Enter number: 5 …

  3. Python Program For Multiples Of 3 And 5 (With Code & Examples)

    To find multiples of 3 and 5 in Python, you can write a program that iterates through a range of numbers and checks if each number is divisible by either 3 or 5. Here’s an example of how …

  4. Print first m multiples of n without using any loop in Python

    Dec 19, 2024 · This article will explore different approaches to Printing first m multiples of n without using any loop in Python. Using List Comprehension. List comprehension provides a …

  5. Create a list of multiples of a number - Dev solutions

    Nov 9, 2021 · List of Multiples Create a Python 3 function that takes two numbers (value, length) as arguments and returns a list of multiples of value until the size of the list reaches length. …

  6. Finding Multiples of a Number in a List Using NumPy

    Mar 16, 2021 · Learn how to find multiples of a specific number in a given list using NumPy. This tutorial provides step-by-step instructions and code examples.

  7. Learn to be Pythonic: List of Multiples of 3 - DEV Community

    Feb 26, 2024 · By doing so, we can gain a deeper understanding of what Python offers out of the box and appreciate the flexibility of this beautiful language. Create a list of multiples of 3 from …

  8. Generate a list of common multiples of 3 and 5 up to 100 - Tutor …

    This Python code creates a list called common_multiples using a list comprehension to find and store the numbers from 1 to 100 that are multiples of both 3 and 5. Here's how the code works:

  9. math - finding multiples of a number in Python - Stack Overflow

    Jan 28, 2013 · To find all the multiples between a given number and a limit. def find_multiples(integer, limit): return list(range(integer,limit+1, integer)) This should return - …

  10. how to find the multiples of a number in python - GrabThisCode

    Jun 29, 2021 · Get code examples like"how to find the multiples of a number in python". Write more code and save time using our ready-made code examples.

  11. Some results have been removed
Refresh