🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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))
  1. A.False True
  2. B.True True
  3. C.False False
  4. 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 →