Computer Science, asked by Anonymous, 7 months ago

a+b amounts to if a and b are lists?
) a+b amounts to if a is list and b = 5?​

Answers

Answered by GeekGuy1
3

Answer:

If a is a list and b is an integer, a+b will result in an error. e.g.

a = [1, 2, 3]

b = 5

c = a+b will raise TypeError

I hope this may help you

please Marked as branlist

Similar questions