Ask coding questions

← Back to all posts
'str' object is not callable
lilylike (0)

My first time programming, what is wrong with my codeing? Thank you in advance.

Traceback (most recent call last):
File "", line 11, in <module>
print("You must see this holy hole, Bagh Caves. The interior of the cave is a beautiful spiritual architecture!")
TypeError: 'str' object is not callable
Screenshot 2021-06-20 at 11.15.19 PM


Coder100 (18871)

It appears you fixed the code
good job, but please specify so in your post.

ruiwenge2 (1105)

delete the first line of the code. this is because you set a variable print to a string, and then tried to use it as a function. without that line of code, it will use the print function as it is supposed to be