Explanation: the line of code shown above will result in a type error. this is because the operand ‘+’ is not supported when we combine the data types ‘int’ and ‘str’. sine this is exactly what we have done in the code shown above, a type error is thrown.
Q. + '3'
β
Correct Answer: (D)
typeerror
Explanation by: Mr. Dubey
the line of code shown above will result in a type error. this is because the operand ‘+’ is not supported when we combine the data types ‘int’ and ‘str’. sine this is exactly what we have done in the code shown above, a type error is thrown.
Discussion
Question Analytics
935
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
87%
Success Rate