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,500
  • 1
  • 16
  • 26
YJ. Lim
  • 37
  • 3

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
  • 32,414
  • 8
  • 104
  • 182