0

I cant print on python. Currently using Python 3.6. Whenever i type

print("Hello World")

It gives me this.

Traceback (most recent call last):   File "<stdin>", line 1, in <module> TypeError: 'str' object is not callable.

Any help? I am a newbie at Python

akash karothiya
  • 5,736
  • 1
  • 19
  • 29
YJ. Lim
  • 37
  • 4

1 Answers1

4

You assigned some string to the print name before you tried that line. You can reverse that using del print, or just restarting your interpreter.

viraptor
  • 33,322
  • 10
  • 107
  • 191