Skip to content

Commit 18ec27d

Browse files
Update securepass/password.py
Co-authored-by: Shamith Nakka <shamith301102@gmail.com>
1 parent 9ef1548 commit 18ec27d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

securepass/password.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@
33

44

55
def main():
6-
while True:
6+
option = ""
7+
while option not in ("1", "2"):
78
option = input(
89
"What would you like to do:\n"
910
"1 Generate a secure password\n"
10-
"2 Check strength of my password\n> "
11+
"2 Check the strength of my password\n> "
1112
)
1213
if option not in ("1", "2"):
1314
print("Please choose 1 or 2.")
14-
continue
15-
break
1615

1716
if option == "1":
1817
while True:

0 commit comments

Comments
 (0)