str with int statement in Python
Question
:
What’s the value of x after this code snippet executes?
x = "1234" + 5
Trick question - this fails with a TypeError
'12345'
'1239'
12345
Answer
:
A - is the correct answer