About 51 results
Open links in new tab
  1. Create a list of multiples of a number - Stack Overflow

    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.

  2. Determining multiples of 3 or 5 in python - Stack Overflow

    Jan 22, 2015 · 0 I'm relatively new to python and thus trying to set myself up running some simple algorithms. Here's the first problem from project euler, although there are other solutions available to …

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

    Jan 28, 2013 · 0 How to calculate the first n multiples of a given number x, in the compact python's lambda notation

  4. Finding the multiples of 3 in a given range - Stack Overflow

    Mar 28, 2022 · I wrote a code that can find the multiples of 3 of a given number, but I want to make it so that it will only print out the multiples of 3 in a given range. How can I do that?

  5. How to make a script that prints the multiples of a number using a for ...

    Jun 10, 2020 · The multiples of number is when you add that number to it self multiple times. range () generates a sequence of integer numbers. It can take one, two, or three parameters:

  6. algorithm - How to find the sum of all the multiples of 3 or 5 below ...

    How to find the sum of all the multiples of 3 or 5 below 1000 in Python? Asked 14 years, 9 months ago Modified 1 year, 7 months ago Viewed 86k times

  7. Returning multiples of a number in Python - Stack Overflow

    Returning multiples of a number in Python Asked 11 years, 9 months ago Modified 7 years, 10 months ago Viewed 13k times

  8. python - Multiples of 10 in a list - Stack Overflow

    Mar 31, 2022 · I am currently doing an assignment in my intro level CS class and just need a smidge of help. They are asking me to write a program that reads a list of integers and determines if it has; …

  9. all multiples of 3 from 1 to 100 by a for loop in c++

    Nov 23, 2021 · No loop needed. Even with a non-constant upper border, this can be calculated in one statement. Think of the story of the pupil being assigned to add up all numbers from 1 to 100.

  10. How to find multiples of a number in a range without loop?

    Oct 1, 2021 · a=10,b=20,c=3 for example I need program to find how many multiples do c=3 have that are between a,b or b,a? how to make that program without using loop? in this example with this input …