Skip to content

Commit

Permalink
Update alphabet_war.py
Browse files Browse the repository at this point in the history
suggestion (code-quality): Simplify generator expression (simplify-generator)
  • Loading branch information
ikostan committed Dec 13, 2024
1 parent 4d32b19 commit 9735d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kyu_5/alphabet_wars_nuclear_strike/alphabet_war.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ def clean_battlefield(battlefield: str) -> str:
del result[i]
break

return ''.join(char for char in reversed(temp))
return ''.join(reversed(temp))

0 comments on commit 9735d01

Please sign in to comment.