Q.

+ '3'

A. nameerror
B. indexerror
C. valueerror
D. typeerror
Answer» D. typeerror
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.
1.7k
0
Do you find this helpful?
4

Discussion

No comments yet