LogiQuest
Back to Modules and Packages
13

What is the output of the following code?

import random
random.seed(1)
a = random.random()
random.seed(1)
print(a == random.random())
Medium

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.