Which of the following error will be raised by the given Python code:

randomList = ['a', 2, 3]

for element in randomList:
        print("The element is ", element)
        x = int(element+1)
print("The incremeant of ", element, "is", x)

1
NameError
2
ValueError
3
TypeError
4
IOError

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation