diff --git a/Group_game/leaderboard.py b/Group_game/leaderboard.py index bc0a7c57b202f9d93212a32a6ebdd235c86f1f16..8169c0e8b0d8eba9c2eb9c04fb4b558f8379b14e 100644 --- a/Group_game/leaderboard.py +++ b/Group_game/leaderboard.py @@ -34,7 +34,7 @@ def append_leaderboard(seconds_used,filename): #time_used = 20 minutes - time r minutes = seconds_used // 60 seconds = seconds_used % 60 - time = [round(minutes), round(seconds)] + time = [round(minutes), round(seconds)] print("Congrats, enter your name on the leaderboard!") name = input("What's your name? :") @@ -73,4 +73,6 @@ def append_leaderboard(seconds_used,filename): #time_used = 20 minutes - time r print("Continuing back into the game...") print('Returning back to the game...') + #Returns back to game.py +append_leaderboard(932, 'Times.csv')