- This Week S Assignment Involves Writing A Python Program To Determine Whether A Password Exactly Meets The Following Req 1 (42.21 KiB) Viewed 63 times
This week's assignment involves writing a Python program to determine whether a password exactly meets the following req
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
This week's assignment involves writing a Python program to determine whether a password exactly meets the following req
This week's assignment involves writing a Python program to determine whether a password exactly meets the following requirements for a secure password: . The length of the password must greater than some minimum length and less than some maximum. You should decide on the minimum (at least 6) and maximum (at least 15) allowable lengths. . It must not include any spaces. • It must contain at least one digit • It must contain at least one alphabetic character. Your program must contain at least three functions: • one function to check that the password is the proper length • a second function to check whether it contains the required number of characters/digits. Hint: to determine whether it contains at least one digit and one alphabetic character, use a loop and the isalpha or isdigit methods. • a third function to verify that it does not contain the prohibited character (space).