From ef1eccafbfd4cbb2ae5d60f3403c5512360f06df Mon Sep 17 00:00:00 2001 From: prkshverma09 Date: Mon, 29 Apr 2024 09:23:15 +0000 Subject: [PATCH 1/2] Initial commit From 8877c85ba0e906bd2cda01977bb71037c7fbb787 Mon Sep 17 00:00:00 2001 From: prkshverma09 Date: Mon, 29 Apr 2024 09:23:16 +0000 Subject: [PATCH 2/2] Pending changes exported from your codespace --- .vscode/settings.json | 1 - 02/02_03/02_03e/main.py | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 2369810..ca20f95 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -17,7 +17,6 @@ "files.autoSave": "afterDelay", "screencastMode.onlyKeyboardShortcuts": true, "terminal.integrated.fontSize": 18, - "workbench.activityBar.visible": true, "workbench.colorTheme": "Visual Studio Dark", "workbench.fontAliasing": "antialiased", "workbench.statusBar.visible": true diff --git a/02/02_03/02_03e/main.py b/02/02_03/02_03e/main.py index 0316cb7..c835e2c 100644 --- a/02/02_03/02_03e/main.py +++ b/02/02_03/02_03e/main.py @@ -7,7 +7,9 @@ ITEM_AT_INDEX_THREE = student_pet_count_list[3] # print(student_pet_count_list[100]) -ITEM_THREE_FROM_BACK = student_pet_count_list[-3] +ITEM_THREE_FROM_BACK = student_pet_count_list[-1] +print(ITEM_THREE_FROM_BACK) + NUM_OF_STUDENTS = len(student_pet_count_list) print(NUM_OF_STUDENTS)