PowerTurtz
PowerTurtz
About
- Username
- PowerTurtz
- Joined
- Visits
- 69
- Last Active
- Roles
- Member
Comments
-
(Quote) Yeah it passes because the try block catches if the discount variable doesn't exist, then assigns 1 if discount hasn't been instantiated. So my calculation still works at the end.
-
I used a try block to catch if the instance variable exists that I create in the add_discount method so that I wouldn't need to add anything to the init but I just did this for fun and I'm not sure if it's what you'd ever actually do. Assigning one …
-
I really enjoyed the first session, I didn't know list comprehensions had some of the functionality you showed us and I liked seeing the perspective you approached things from. I wouldn't mind doing anything from classes and inheritance onwards in t…
-
Hey everyone, my name is Aidan and I'm 25. I'm from South Africa but I'm in France doing my Masters in Business Intelligence and Analytics. I'm actually going to Germany for an internship in June so I can buy you a beer as a thank you Alex :p I've b…