Code AnalysisIntermediate 45s
random seed
What is the output? (same seed = same sequence)
Starter code
import random random.seed(42) a = random.randint(1, 100) random.seed(42) b = random.randint(1, 100) print(a == b)
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.