python_exercises/thinkcspy/Chapter-5-Exercises/Python-files/problem16.py
2023-08-21 20:03:55 -06:00

9 lines
No EOL
150 B
Python

# Runestone.Academy thinkcspy course
# Chapter 5
# Problem 16
import random
for i in range(10):
prob = random.random()
print(i+1, '-', prob)