On 4/16/19 12:54 PM, fatima butt wrote:
[image: image.png]please I need help with IDLE teminal..its giving me error.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
You need a space between 'def' and '__init__'.
Then you must remove the import statement. The class
is already defined in your scope and there is no
module called 'Student'.
Tobiah
On 3/15/19 6:54 PM, Glenn Dickerson wrote:
class Student():
def_
, 'year': 2017}
On 2/27/19 5:25 AM, AdamC wrote:
That's great - bug found. Thanks. However the next question is, how do I
create an instance of a class with variable parameters (i.e. with dateAdded
already computed and stored, or with dateAdded created for the first time)?
I hop
On 2/26/19 6:39 AM, AdamC wrote:
Sorry folks - my code didn't work due to my debug var count to ensure that
I was looping properly.
It should be:
As was pointed out, the problem is not in your code. It's in your
data. You only have one record with a proper 'tpe' value, so that's
all you g