From 4b2cfdc89b11e3407e8e43218f7a7e0fffa33db1 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Sun, 10 Dec 2023 16:12:39 +0530 Subject: [PATCH] updated top 5 function to only show top 5 scores instead of the whole list in descending order. requires minimum 6 elements in the list. also removed 'designed and engineered by kshitij' --- assignment-14.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assignment-14.py b/assignment-14.py index 9a41c3d..40918fd 100644 --- a/assignment-14.py +++ b/assignment-14.py @@ -54,9 +54,8 @@ def choose_optn(): elif optn==4: top5() elif optn==5: - print("## DESIGNED AND ENGINEERED BY KSHITIJ\n## END OF CODE") + print("\n## END OF CODE\n\n") quit() else: print("\nPlease choose a valid option (1-5).\n") - choose_optn() choose_optn()