What is the output of the following code?
num1 = 12
num2 = “58”
print(num1 + num2)
A. 12
B. 58
C. 70
D. Error: Invalid operation, unsupported operator ‘+’ used between ‘int’ and ‘str’.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
What is the output of the following code? num1 = 12 num2 = “58” print(num1 + num2)
What is the output of the following code?
num1 = 12
num2 = “58”
print(num1 + num2)
A. 12
B. 58
C. 70
D. Error: Invalid operation, unsupported operator ‘+’ used between ‘int’ and
The output of the following code
num1 = 12
num2 = “58”
print(num1 + num2)
will be an Error: Invalid operation, unsupported operator ‘+’ used between ‘int’ and ‘str’.