Skip to content

Commit 66be858

Browse files
committed
fix: address ruff linting issues
1 parent a30f6b7 commit 66be858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

other/snake_water_gun.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""
22
A simple implementation of the Snake, Water, Gun game.
33
"""
4-
import random
54
import doctest
5+
import random
66

77

88
def snake_water_gun(player_choice: str, computer_choice: str) -> str:
@@ -14,7 +14,7 @@ def snake_water_gun(player_choice: str, computer_choice: str) -> str:
1414
computer_choice: The computer's choice.
1515
1616
Returns:
17-
A string indicating the result: "Player wins!", "Computer wins!", or "It's a draw!".
17+
Result: "Player wins!", "Computer wins!", or "It's a draw!".
1818
1919
Doctests:
2020
>>> snake_water_gun('s', 'w')

0 commit comments

Comments
 (0)