Practice · 1 of 4
Seeded Roll
CHALLENGE
Difficulty: beginner+25 XP
Seed the random generator with 42, then print random.randint(1, 10). The value is deterministic — tests know it.
Press Submit to check your solution.
Back to lesson: Practice: Standard Library Tour