Question #6

What is the output of the code snippet below?
int('4') + int('2')

First, Python casts the strings '4' and '2' to integers. Then, it adds them. (docs.python.org/3/library/functions.html)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: