<
RHD
/>
Home
Blog
Quiz
Resources
About
Contact
Enlist
// guest
▾
Login
Request Account
[ light ]
// Modules & Packages
Modules & Packages Quiz
// question 1 of 10
What does round(3.7) return?
3.7
4
3
// question 2 of 10
What does math.factorial(4) return?
24
8
16
// question 3 of 10
What does math.pi represent?
Random number
Value of pi
Positive infinity
// question 4 of 10
What does random.shuffle() do?
Sorts a list
Deletes items
Shuffles a list
// question 5 of 10
What function returns a random integer?
random.randint()
math.sqrt()
time.sleep()
// question 6 of 10
What module contains sleep()?
math
random
time
// question 7 of 10
Does randint include both limits?
No
Only lower limit
Yes
// question 8 of 10
What does time.time() return?
Current timestamp
Random integer
Current year
// question 9 of 10
What does len([1 2 3]) return?
3
2
1
// question 10 of 10
What does math.sqrt(9) return?
81
9
3.0
Submit Answers →