- 1

what is the answer

What is the output of this code? >>> x = 5 >>> y = x + 3 >>> y = int(str(y) + "2") >>> print(y)

7th Nov 2017, 2:12 PM
Billy Parker
Billy Parker - avatar
2 Answers
+ 11
x=5 y=8 y=int("8"+"2") => 82
7th Nov 2017, 2:44 PM
Said BAHAOUARY
Said BAHAOUARY - avatar