← Quiz: Password Storage Lab: all 10 questions
Quiz: Password Storage Lab · Question 8 of 10
What does this print? (code)
What does this print?
import unicodedata
a, b = "Café", "Café"
print(a == b, unicodedata.normalize("NFKC", a) == unicodedata.normalize("NFKC", b))
- A.False True
- B.True True
- C.False False
- D.True False
Answer & explanation
Correct answer: False True
The two strings look the same but differ in code points; NFKC normalisation makes them equal.
Can you get the rest right without peeking?
Take the timed Quiz: Password Storage Lab quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →