{"id":25175081,"url":"https://github.com/sarahm44/python-gradebook","last_synced_at":"2025-04-04T00:44:52.742Z","repository":{"id":274412824,"uuid":"922814046","full_name":"sarahm44/python-gradebook","owner":"sarahm44","description":"Uses Python lists to organise data related to a student's subjects and grades.","archived":false,"fork":false,"pushed_at":"2025-01-27T06:09:30.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T12:31:59.669Z","etag":null,"topics":["codecademy","codecademy-courses","codecademy-cs","codecademy-pro","python-lists","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sarahm44.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-27T05:43:43.000Z","updated_at":"2025-01-29T11:18:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"c98feada-3063-4fd5-bd10-a461a9fa0399","html_url":"https://github.com/sarahm44/python-gradebook","commit_stats":null,"previous_names":["sarahm44/python-gradebook"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarahm44%2Fpython-gradebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarahm44%2Fpython-gradebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarahm44%2Fpython-gradebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarahm44%2Fpython-gradebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarahm44","download_url":"https://codeload.github.com/sarahm44/python-gradebook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103299,"owners_count":20884023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codecademy","codecademy-courses","codecademy-cs","codecademy-pro","python-lists","python3"],"created_at":"2025-02-09T12:28:49.864Z","updated_at":"2025-04-04T00:44:52.698Z","avatar_url":"https://github.com/sarahm44.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codecademy Project: Python Gradebook\n\n![\"\"](https://i.pinimg.com/736x/8e/9e/39/8e9e3956e2929be4ccd0bf1c2be52ad3.jpg)\n\n## Overview\nFor the purpose of this activity, I am a student and  trying to organise my subjects and grades using Python. \n\nThe notebook containing the code is [here](https://github.com/sarahm44/python-gradebook/blob/main/gradebook_notebook.py).\n\n## Tasks\n### Create Some Lists\n\n1. Create a list called subjects and fill it with the classes you are taking:\n\n* \u003ccode\u003e\"physics\"\u003c/code\u003e\n* \u003ccode\u003e\"calculus\"\u003c/code\u003e\n* \u003ccode\u003e\"poetry\"\u003c/code\u003e\n* \u003ccode\u003e\"history\"\u003c/code\u003e\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_1.png)\n\n2. Create a list called grades and fill it with your scores:\n\n* \u003ccode\u003e98\u003c/code\u003e\n* \u003ccode\u003e97\u003c/code\u003e\n* \u003ccode\u003e85\u003c/code\u003e\n* \u003ccode\u003e88\u003c/code\u003e\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_2.png)\n\n3. Manually (without any methods) create a two-dimensional list to combine subjects and grades. Use the table below as a reference to associated values.\n\n| Name |\tTest Score |\n|------|-------------|\n| \u003ccode\u003e\"physics\"\u003c/code\u003e\t| \u003ccode\u003e98\u003c/code\u003e |\n| \u003ccode\u003e\"calculus\"\u003c/code\u003e |\t\u003ccode\u003e97\u003c/code\u003e |\n| \u003ccode\u003e\"poetry\"\u003c/code\u003e\t| \u003ccode\u003e85\u003c/code\u003e |\n| \u003ccode\u003e\"history\"\u003c/code\u003e\t| \u003ccode\u003e88\u003c/code\u003e |\n\nAssign the value into a variable called \u003ccode\u003egradebook\u003c/code\u003e.\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_3.png)\n\n4. Print \u003ccode\u003egradebook\u003c/code\u003e. Does it look how you expected it would?\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_4.png)\n\nSee the output from the code as follows:\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Output_4.png)\n\n### Add More Subjects\n\n5. Your grade for your computer science class just came in! You got a perfect score, \u003ccode\u003e100\u003c/code\u003e!\n\nUse the \u003ccode\u003e.append()\u003c/code\u003e method to add a list with the values of \u003ccode\u003e\"computer science\"\u003c/code\u003e and an associated grade value of 100 to our two-dimensional list of \u003ccode\u003egradebook\u003c/code\u003e.\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_5.png)\n\n6. Your grade for \u003ccode\u003e\"visual arts\"\u003c/code\u003e just came in! You got a \u003ccode\u003e93\u003c/code\u003e!\n\nUse append to add \u003ccode\u003e[\"visual arts\", 93]\u003c/code\u003e to gradebook.\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_6.png)\n\n### Modify The Gradebook:\n\n7. Our instructor just told us they made a mistake grading and are rewarding an extra 5 points for our visual arts class.\n\nAccess the index of the grade for your visual arts class and modify it to be 5 points greater.\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_7.png)\n\n8. You decided to switch from a numerical grade value to a Pass/Fail option for your poetry class.\n\nFind the grade value in your \u003ccode\u003egradebook\u003c/code\u003e for your poetry class and use the \u003ccode\u003e.remove()\u003c/code\u003e method to delete it.\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_8.png)\n\n9. Use the \u003ccode\u003e.append()\u003c/code\u003e method to then add a new \u003ccode\u003e\"Pass\"\u003c/code\u003e value to the sublist where your poetry class is located.\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_9.png)\n\n### One Big Gradebook!\n\n10. You also have your grades from last semester, stored in \u003ccode\u003elast_semester_gradebook\u003c/code\u003e.\n\nCreate a new variable \u003ccode\u003efull_gradebook\u003c/code\u003e that combines both \u003ccode\u003elast_semester_gradebook\u003c/code\u003e and \u003ccode\u003egradebook\u003c/code\u003e using \u003ccode\u003e+\u003c/code\u003e to have one complete grade book.\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Task_10.png)\n\nPrint \u003ccode\u003efull_gradebook\u003c/code\u003e to see our completed list.\n\n![\"\"](https://github.com/sarahm44/python-gradebook/blob/main/Output_10.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarahm44%2Fpython-gradebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarahm44%2Fpython-gradebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarahm44%2Fpython-gradebook/lists"}