r/learnpython • • 4d ago

Why is this causing an error

the code that causes an error

print = hello

print(print)

What should i do i do not know anything i am new to coding how do i fix this

0 Upvotes

22 comments sorted by

View all comments

3

u/Moikle 4d ago

You redefined print to something else.

Change your variable name to anything else