Re: [Tutor] I have a problem with def

2018-02-23 Thread john fabiani
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

Re: [Tutor] I have a problem with def

2018-02-23 Thread Bob Gailer
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

Re: [Tutor] I have a problem with def

2018-02-23 Thread Mark Lawrence
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

Re: [Tutor] I have a problem

2017-09-23 Thread Mats Wichmann
On 09/23/2017 03:46 AM, Sibylle Koczian wrote: > Am 22.09.2017 um 23:41 schrieb Mizav: >> You are using pip version 7.1.2, however version 9.0.1 is available. >> You should consider upgrading via the 'python -m pip install --upgrade >> pip' >> command. >> > > And what is the problem? Did you under

Re: [Tutor] I have a problem

2017-09-23 Thread Sibylle Koczian
Am 22.09.2017 um 23:41 schrieb Mizav: You are using pip version 7.1.2, however version 9.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. And what is the problem? Did you understand the message? Did you try to do the upgrade and what happe