ExamPlay Light Logo
Pierakstīties

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

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

Paskaidrojums

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

komentāri (0)

Piesakieties, lai komentētu
Reklāma
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc