79174367

Date: 2024-11-10 07:44:28
Score: 1.5
Natty:
Report link

When you are giving the child class a parent to inherit from, in this case; Parent, it literally inherits everything Parent has; it's attributes, methods, more. In this case you are REASSIGNING attribute which is already defined since you grabbed it from Parent. Therefore you would need to do attribute2 = attribute / 2 or attribute /= 2.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you are
  • Low reputation (1):
Posted by: OhioSkibidiSigmaToeTickler69