Skip to content

Commit 22001b3

Browse files
Potential fix for code scanning alert no. 5: Unused global variable
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 9e5aa71 commit 22001b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

password_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def newline():
2020
print("Enter Length of Password:")
2121
required_password = int(input())
2222
newline()
23-
for i in range(0, 3):
23+
for _ in range(0, 3):
2424
generated_password = ""
2525
required = required_password
2626
while required > 0:

0 commit comments

Comments
 (0)