# Python program to find multiples of an integer defined by user and in the range which is also defined by the user. Implementing using both while loop and for loop.

Here is the code for a python program to find multiples of 5 in the range defined by the user. Implementing using both while loop and for loop.

```
#Python program to find multiples of and integer defined by the user in the range which is also defined by the user. Implementing using both while loop and for loop.

#Using while loop
integerInput = int(input('Enter the integer to find its multiples: '))
startingRange = int(input('Enter the starting point: '))
endPoint = int(input('Enter the end point: '))
while startingRange <= endPoint:
print(integerInput * startingRange)
startingRange += 1

#Using for loop
integerInput = int(input('Enter the integer to find its multiples: '))
startingRange = int(input('Enter the starting point: '))
endPoint = int(input('Enter the end point: '))
for i in range(startingRange, endPoint + 1):
print(integerInput * i)

# This code is contributed by Ahmad Shafiq
``` ## Love this read? Subscribe to Modernage!

Do you have any queries? You can ask in the comments. We, at Modernage answer each and every question, asked in the comments, so If you have any queries, or you want to know about any specific platform you can ask in the comments below

## Author ## More Articles.  ### Assign two random numbers ‘x’ & ‘y’ and then print addition, subtraction, division, and multiplication.

This is a python code to perform basic arithmetic operations. Contents Python Program Here is the code: Program Output:  ### Python program to print star patterns in python

Here is a python program to print different patterns in python. Contents First Pattern Output of first pattern Second Pattern Output of second pattern Third  ### Python program to take two integers from the user and determine and print whether the first is a multiple of the second.

Here is the code for the python program to take two integers from the user and determine and print whether the first is a multiple

## Python

### Python program that inputs three different integers from the keyboard, and then prints the sum, the average, the product, the smallest, and the largest of these numbers. ## More Articles.  ### What is WEB3? Why is it important! (Simply Explained)

Famously known as web 3.0, web3 is an era  ### Online Shopping in Pakistan: Ultimate Guide (Jan. 2022)

The concept of online shopping has revolutionized the way  