From 0 to 1

Report a typo

The function used to set a starting point of the random search algorithm is called random.seed() and takes a single integer number. Write a program that takes an integer number n, sets n as a seed and then prints a pseudo-random number from 0 to 1.

The variable n is already defined.

Sample Input 1:

66

Sample Output 1:

0.0708089270590726
Write a program in Python 3
import random


# work with this variable
n = int(input())
___

Create a free account to access the full topic