Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Trouble understanding classes in python

Current License: CC BY-SA 4.0

Post Revisions

18 events
when toggle format what by license comment
Jan 14, 2022 at 20:05 answer added Data_Artist timeline score: 0
Jan 22, 2020 at 22:24 vote accept NotHamzah
Jan 22, 2020 at 22:23 vote accept NotHamzah
Jan 22, 2020 at 22:24
Jan 22, 2020 at 22:23 vote accept NotHamzah
Jan 22, 2020 at 22:23
S Jan 14, 2020 at 23:00 history edited liborm CC BY-SA 4.0
Formatting
S Jan 14, 2020 at 23:00 history suggested loki CC BY-SA 4.0
Formatting
Jan 14, 2020 at 22:21 review Suggested edits
S Jan 14, 2020 at 23:00
Jan 14, 2020 at 22:02 comment added LoMaPh Add self.age = None and self.mark = None to the __init__ function.
Jan 14, 2020 at 22:01 answer added Mad Physicist timeline score: 2
Jan 14, 2020 at 22:01 answer added Mohammed Deifallah timeline score: 0
Jan 14, 2020 at 22:00 answer added Aljaž Medič timeline score: 1
Jan 14, 2020 at 21:59 comment added John Gordon In setAge(), what is the point of self.age = age, given that you immediately re-assign self.age to a random number anyway?
Jan 14, 2020 at 21:59 answer added AmirHmZ timeline score: 2
Jan 14, 2020 at 21:59 answer added Jordan Brière timeline score: 0
Jan 14, 2020 at 21:59 comment added NotHamzah Thank you I just saw the issue as well thanks for the prompt replies!
Jan 14, 2020 at 21:57 comment added juanpa.arrivillaga Yes, because you never set an age for your student.
Jan 14, 2020 at 21:57 comment added Mad Physicist You didn't set an age or marks before displaying the info...
Jan 14, 2020 at 21:55 history asked NotHamzah CC BY-SA 4.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /