Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Class question
#2
You need to either put student1 = Student() in the function or take it out of the class. You have it aligned with your function.
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
Gaming Collection
Homepage
my-python
Reply


Messages In This Thread
Class question - by robdineen - May-28-2020, 09:16 PM
RE: Class question - by menator01 - May-28-2020, 09:26 PM
RE: Class question - by bowlofred - May-28-2020, 09:27 PM
RE: Class question - by robdineen - May-29-2020, 08:10 PM
RE: Class question - by pyzyx3qwerty - May-29-2020, 05:13 AM
RE: Class question - by Calli - May-30-2020, 05:36 AM
RE: Class question - by buran - May-30-2020, 05:42 AM
RE: Class question - by Calli - May-30-2020, 05:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  newbie question....importing a created class ridgerunnersjw 5 824 Oct-01-2020, 07:59 PM
Last Post: ridgerunnersjw
  Question about naming variables in class methods sShadowSerpent 1 743 Mar-25-2020, 04:51 PM
Last Post: ndc85430
  class question jrauden 1 629 Feb-16-2020, 10:14 AM
Last Post: ibreeden
  Class Question esteel 5 2,362 May-22-2018, 10:27 AM
Last Post: esteel
  First Post/ Class Error Question jvan1601 2 1,995 May-01-2017, 04:21 AM
Last Post: jvan1601

Forum Jump:

User Panel Messages

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