ExamPlay Light Logo
Conectare

Computer Science for IGCSE & O level - Programming (Section 7 - No. 31)

What is the output of `print(str(123) + "456")`?
579
123456
"123456"
Error

Explicaţie

str(123) converts 123 to a string; string concatenation results in 123456.

Comentarii (0)

Autentifică-te pentru a comenta
Publicitate
BrainBehindX Inc Logo
©2026; Cu sprijinul BrainBehindX Inc