Which import lets you call randint() directly without the module name?
- include random
- from random import randint
- import randint from random
- import random
Answer
B) from random import randint
from module import name brings the name into the program. SLO CS-11-C-04
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise