repl.it
@SamWhite3/

HOW TO DIVIDE

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
a=input("Give me a number.")
y=input("Number:")
count = 0
for x in range(1, 10001):
	if x % a == 0 and x % y == 0:
		count += 1
		print(format(x, '>5d'), end=' ')
	if count == 5:
		print()
		count = 0