Computer Science

What will be the output produced?

x, y = '5', 2
z = x + y
print(z)

Python

Python Data Handling

16 Likes

Answer

This code produces an error in the line z = x + y as operands of addition operator (+) are string and int, respectively which is not supported by Python.

Answered By

13 Likes


Related Questions