python-CSD-kursu/python-temel/randint.py

7 lines
224 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import random
for i in range(10):
val = random.randint(0, 99)
print(val, end = ' ')
# Rassal sayaç rastgele bir tohum değerden başlamaktadır. Dolayısıyla her çalıştırmada rastgele bir dizilim elde edilir.