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:
parent
79a69ad179
commit
4b2cfdc89b
@ -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()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user