From 02a5876ed284e4b9448104cc7be354710a538379 Mon Sep 17 00:00:00 2001 From: "xuanyi.wang" Date: Fri, 7 Apr 2023 00:08:47 +0200 Subject: [PATCH] Update page 'Day 5 homework - Sloetjes' --- Day 5 homework - Sloetjes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Day 5 homework - Sloetjes.md b/Day 5 homework - Sloetjes.md index fe29221..c78f73d 100644 --- a/Day 5 homework - Sloetjes.md +++ b/Day 5 homework - Sloetjes.md @@ -29,7 +29,7 @@ print(v.treasure) # prints 'Attribute deleted!\ngold' ``` **To get the other person's class to return "gold", despite any countermeasures they've implemented:** -###### It can be achieved by creating a new class that inherits from the Vault class and overrides its _treasure attribute. +###### It can be achieved by creating a new class that inherits from the Vault class and overrides its `_treasure` attribute. ``` class GoldVault(Vault): def __init__(self):