We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ff631a commit 12c1e88Copy full SHA for 12c1e88
WordGuessing.py
@@ -51,7 +51,7 @@ def main():
51
if (set(dots) == set(win)):
52
with open ("WordGuessing_ranking.csv","a") as file:
53
file.write(f"{first_name},{last_name},{win} \n")
54
- print(f"Congratulations {first_name}, You Won.{dots}")
+ print(f"Congratulations {first_name}, You Won.{dots}, in {i} tries.")
55
break
56
57
if (i==a) and not (set(dots) == set(win)):
0 commit comments