I don't what you are doing but
it should be at least
def func():
notice the colon at the end.
Johnf
On 02/22/2018 02:16 PM, David Bauer wrote:
it doesn't work, you are suppsed to declare a function as def func() and it
comes back as:
File "", line 1
def func()
^
SyntaxEr
On Feb 23, 2018 3:58 AM, "David Bauer" wrote:
>
> it doesn't work, you are suppsed to declare a function as def func() and
it
> comes back as:
>
> File "", line 1
> def func()
> ^
> SyntaxError: invalid syntax
>
> that is not expected I would also expect def to turn red because it
On 22/02/18 22:16, David Bauer wrote:
it doesn't work, you are suppsed to declare a function as def func() and it
comes back as:
File "", line 1
def func()
^
SyntaxError: invalid syntax
that is not expected I would also expect def to turn red because it is a
keyword in Python
it doesn't work, you are suppsed to declare a function as def func() and it
comes back as:
File "", line 1
def func()
^
SyntaxError: invalid syntax
that is not expected I would also expect def to turn red because it is a
keyword in Python, but that doesn't happen, anyone else hav