About 50 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. 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

  3. How to extract multiples of a number from a vector

    Apr 8, 2021 · How to extract multiples of a number from a vector Asked 10 years, 2 months ago Modified 4 years, 9 months ago Viewed 17k times

  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. Find the sum of all the multiples of 3 or 5 below 1000

    If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. I have the following code but the answer does not match. #include<

  7. 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 …

  8. Excel Conditional Formatting for multiples of a number

    Apr 28, 2020 · I am trying to do a conditional formatting in excel where if someone types in a number in B1, and if it is not multiples of a number in cell A1, then turn red. for example if A1 is 5, I want cell ...

  9. Why the ip fragments must be in multiples of 8 bytes

    In the text book Computer Networking James F.Kurose Fifth Ed, ch4 mentioned the ip fragments must be in multiples of 8 bytes, and because the Flags in the IP header takes 3 bits.

  10. How do I make a Python array made up of multiples of (e.g) 3?

    Jun 14, 2020 · I'm making a program that counts from 1 to 1000 (printing each number) but changes the printed value at any multiple of 3. How do I make my array made up of multiples of a certain number …