Multiple Choice
Which of the following will assign a random number in the range of 1 through 50 to the variable number?
A) random(1,50) = number
B) number = random.randint(1, 50)
C) randint(1, 50) = number
D) number = random(range(1, 50) )
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q26: The math function ceil(x)returns the smallest integer
Q36: Different functions can have local variables with
Q44: The first line in the function definition
Q46: What type of value is returned by
Q47: A value-returning function has a(n) _ statement
Q48: A variable is visible only to statements
Q50: In Python, one can have a list
Q51: When a function is called by its
Q53: What is a group of statements that
Q65: The _ design technique can be used