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'

This commit is contained in:
K 2023-12-10 16:12:39 +05:30
parent 79a69ad179
commit 4b2cfdc89b
Signed by: notkshitij
GPG Key ID: C5B8BC7530F8F43F

View File

@ -54,9 +54,8 @@ def choose_optn():
elif optn==4: elif optn==4:
top5() top5()
elif optn==5: elif optn==5:
print("## DESIGNED AND ENGINEERED BY KSHITIJ\n## END OF CODE") print("\n## END OF CODE\n\n")
quit() quit()
else: else:
print("\nPlease choose a valid option (1-5).\n") print("\nPlease choose a valid option (1-5).\n")
choose_optn() choose_optn()
choose_optn()