Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Traceback error
#2
The Problem is that you are missing spaces between def __init__ and (self, ...)
so just replace the line
def__init__(self, name, major, GPA, is_on_probation):
with
def __init__ (self, name, major, GPA, is_on_probation):
Maybe you have a little type error there, but I'm a bit surprised that the import is working, because the student class is called "student", but you imported "Students" and used it with "Student"
Reply


Messages In This Thread
Traceback error - by tjnichols - Sep-26-2018, 12:51 PM
RE: Traceback error - by ThiefOfTime - Sep-26-2018, 01:02 PM
RE: Traceback error - by tjnichols - Sep-26-2018, 02:40 PM
RE: Traceback error - by ichabod801 - Sep-26-2018, 04:38 PM
RE: Traceback error - by ThiefOfTime - Sep-26-2018, 04:56 PM
RE: Traceback error - by tjnichols - Sep-26-2018, 05:10 PM
RE: Traceback error - by ThiefOfTime - Sep-26-2018, 06:02 PM
RE: Traceback error - by tjnichols - Sep-26-2018, 07:13 PM
RE: Traceback error - by ThiefOfTime - Sep-26-2018, 08:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Traceback error tjnichols 3 2,656 Sep-25-2018, 07:24 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020