import random numbers = [random.randint(1, 100) for _ in range(10)] print(numbers)
Standard input is empty
[28, 75, 77, 6, 76, 48, 80, 74, 52, 83]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!