Skip to content

Instantly share code, notes, and snippets.

View gisel-a-n's full-sized avatar

gisel-a-n

  • Joined Sep 4, 2025
View GitHub Profile
@gisel-a-n
gisel-a-n / # 10 shuffle()
Last active October 2, 2025 11:58
FI2151 - Brief intro to random number
# shuffle ()
import random as rnd
list1 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
print(list1)
rnd.shuffle(list1)
print(list1)
# shuffle() with seed()