Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Can anyone help me understand the problem with this code?

I am using VS studios, using python. When I try to create a function, I constantly keep getting a syntax error. I am not sure why?

 def sayhi():
 print("Hello User")
sayhi()

Answer*

Draft saved
Draft discarded
Cancel
1
  • As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center. Commented Nov 18, 2022 at 14:47

lang-py

AltStyle によって変換されたページ (->オリジナル) /