Skip to content
CodeKruPro

== versus is on strings

QuizEasyPython onlyAsked in: Capgemini, Infosys

What does this print?

a = "hello"
c = "".join(["hel", "lo"])
print(a == c, a is c)
Choose one answer.

to answer and keep your progress. Reading is free for everyone.