Voldemort

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 a single number n, sets a seed to n and then prints a pseudo-randomly chosen letter from the string "Voldemort".

The variable n is already defined.

Sample Input 1:

-42

Sample Output 1:

o
Write a program in Python 3
import random


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

Create a free account to access the full topic