Which one of the following will assign a random number in the range of 1 through 50 to the variable number?

Which one of the following will assign a random number in the range of 1 through 50 to the variable number?


Answer: number = random.randint(1, 50)


Learn More :