File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -232,16 +232,16 @@ def check_winner(self):
232232 if self ._wrong_guesses < MAX_WRONG_GUESSES :
233233 self ._won_games += 1
234234 answer = sg .PopupYesNo (
235- f "You've won! Congratulations!\n "
235+ "You've won! Congratulations!\n "
236236 f"That's { self ._won_games } out of { self ._played_games } !\n "
237- f "Another round?" ,
237+ "Another round?" ,
238238 title = "Winner!" ,
239239 )
240240 else :
241241 answer = sg .PopupYesNo (
242242 f"You've lost! The word was '{ self ._target_word } '.\n "
243243 f"That's { self ._won_games } out of { self ._played_games } !\n "
244- f "Another round?" ,
244+ "Another round?" ,
245245 title = "Sorry!" ,
246246 )
247247 self .quit = answer == "No"
Original file line number Diff line number Diff line change @@ -232,16 +232,16 @@ def check_winner(self):
232232 if self ._wrong_guesses < MAX_WRONG_GUESSES :
233233 self ._won_games += 1
234234 answer = sg .PopupYesNo (
235- f "You've won! Congratulations!\n "
235+ "You've won! Congratulations!\n "
236236 f"That's { self ._won_games } out of { self ._played_games } !\n "
237- f "Another round?" ,
237+ "Another round?" ,
238238 title = "Winner!" ,
239239 )
240240 else :
241241 answer = sg .PopupYesNo (
242242 f"You've lost! The word was '{ self ._target_word } '.\n "
243243 f"That's { self ._won_games } out of { self ._played_games } !\n "
244- f "Another round?" ,
244+ "Another round?" ,
245245 title = "Sorry!" ,
246246 )
247247 self .quit = answer == "No"
You can’t perform that action at this time.
0 commit comments