Skip to content

Commit b98f648

Browse files
authored
Update password.py
I noticed after the value Error there is no continue to go back to the top of the while loop so I added one.
1 parent ffbfab9 commit b98f648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PASSWORD RELATED/RandomPassword/password.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def main():
1818
break
1919
except ValueError:
2020
print("Please enter a valid integer.")
21-
21+
continue
2222
# Generate the specified number of passwords and print them to the console
2323
print("Generated passwords:")
2424
for i in range(num_pass):

0 commit comments

Comments
 (0)