repl.it
@EdgarArcia/

For loop tests

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
# Use the code below to create a program to print 10
# random numbers between 1 and 50 on the same line.
# Also print if a number is repeated
import random
for x in range(5):
  print(random.randint(1,10))