0

I dont understand why the answer is 34? On type conversion question 1? TELL ME!

7th Mar 2017, 7:28 AM
sonnymac0705
2 Antworten
+ 5
the result is a string constructed (concatanated) from "3" and "4" the print function does not prints the "...." and next time please attach the question in the post i know you cannot copy-paste from the course questions, but this one was a one liner :/
7th Mar 2017, 7:37 AM
Burey
Burey - avatar
0
It first concatenates the strings "3" and "4", resulting in "34". Then, it converts this string "34" to an interger, 34.
8th Mar 2017, 10:32 AM
Eden Caldas
Eden Caldas - avatar