-4

I was iterating over a List and print each element, the code is very simply, but the program throws error.

enter image description here

Shawn TIAN
  • 417
  • 4
  • 10

1 Answers1

0

You have redefined print somewhere else in your code. You can test this by simply running:

print

It will likely give you an integer. Try resetting your kernel.

James
  • 32,991
  • 4
  • 47
  • 70