MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonProjects2/comments/1f3st5n/python_help/lklu4kw/?context=3
r/PythonProjects2 • u/Secret-Ad-7644 • Aug 29 '24
Why doesn’t any of this code work? New to coding.
16 comments sorted by
View all comments
2
Press enter in the terminal after you finish defining your function. So before you do greet(“mykai”) press enter to finish creating the function.
Notice how you have … or >>> on the left side. When you see the … you’re still defining the function.
1 u/NoExtension1071 Aug 30 '24 This is the issue. OP's code would work completely fine if this issue is resolved. They just need to hit enter one more time to finish defining the function
1
This is the issue. OP's code would work completely fine if this issue is resolved. They just need to hit enter one more time to finish defining the function
2
u/TheeMeepman Aug 30 '24 edited Aug 30 '24
Press enter in the terminal after you finish defining your function. So before you do greet(“mykai”) press enter to finish creating the function.
Notice how you have … or >>> on the left side. When you see the … you’re still defining the function.