diff --git a/08_class(dictionary)/class8.ipynb b/08_class(dictionary)/class8.ipynb index ad85deb..daa893c 100644 --- a/08_class(dictionary)/class8.ipynb +++ b/08_class(dictionary)/class8.ipynb @@ -579,11 +579,11 @@ } ], "source": [ - "alien_0: list[Key, Value] = {'color': 'green', 'points': 5}\n", - "alien_1: list[Key, Value] = {'color': 'yellow', 'points': 10}\n", - "alien_2: list[Key, Value] = {'color': 'red', 'points': 15}\n", + "alien_0: Dict[Key, Value] = {'color': 'green', 'points': 5}\n", + "alien_1: Dict[Key, Value] = {'color': 'yellow', 'points': 10}\n", + "alien_2: Dict[Key, Value] = {'color': 'red', 'points': 15}\n", "\n", - "aliens:list[Dict[str,str]] = [alien_0, alien_1, alien_2]\n", + "aliens:list[Dict[Key, Value]] = [alien_0, alien_1, alien_2]\n", "for alien in aliens:\n", " print(alien)" ]