+ 2
programming language
What is the output of this code? >>> x = 5 >>> y = x + 3 >>> y = int(str(y) + "2") >>> print(y)
3 Answers
+ 5
y becomes a string.
y+"2"
="8"+"2"
="82"
+ 1
how
What is the output of this code? >>> x = 5 >>> y = x + 3 >>> y = int(str(y) + "2") >>> print(y)