Computer Science - Text-Based Programming - Python - Modules and libraries - Module Usage Quiz
8 questions. Q1: Which import lets you use sqrt() directly without prefix? → from math import sqrt. Q2: random.randint(1, 6) can return which values? → 1, 2, 3, 4, 5, or 6 (inclusive both ends). Q3: What does 'import math as m' let you do? → Use m.pi instead of math.pi. Q4: How to get today's date?