<
RHD
/>
Home
Blog
Quiz
Resources
About
Contact
Enlist
// guest
▾
Login
Request Account
[ light ]
// Projects
Projects Quiz
// question 1 of 10
What is the output of: "BERLIN".lower()?
BERLIN
Berlin
berlin
// question 2 of 10
What is the output of: [x**2 for x in range(4)]?
[0, 1, 2, 3]
[0, 1, 4, 9]
[1, 4, 9, 16]
// question 3 of 10
What does os.path not provide in this course?
Dictionary operations
It was not covered in this course
File reading functions
// question 4 of 10
What is the output of: "2025-04-07".split("-")?
['2025-04-07']
['2025', '04-07']
['2025', '04', '07']
// question 5 of 10
What is the output of: min({"a": 3, "b": 1, "c": 2})?
1
'a'
'b'
// question 6 of 10
What does uuid.uuid4() generate?
A timestamp-based string
A sequential integer ID
A random universally unique identifier
// question 7 of 10
What does strptime("2025-04-07", "%Y-%m-%d") return?
A formatted string
A date integer
A datetime object
// question 8 of 10
What does multimode([1,2,2,3,3]) return?
[2]
[2, 3]
2
// question 9 of 10
What does Counter({'a': 3, 'b': 1}) represent?
'a' appears 3 times, 'b' appears once
3 counters named 'a' and 1 named 'b'
A dict with 3 keys
// question 10 of 10
What is the correct way to sort a list in place?
sorted_list = my_list.sort()
my_list = my_list.sort()
my_list.sort()
Submit Answers →