MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / main

Function main

other/password.py:83–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def main():
84 length = int(input("Please indicate the max length of your password: ").strip())
85 chars_incl = input(
86 "Please indicate the characters that must be in your password: "
87 ).strip()
88 print("Password generated:", password_generator(length))
89 print(
90 "Alternative Password generated:",
91 alternative_password_generator(chars_incl, length),
92 )
93 print("[If you are thinking of using this password, You better save it.]")
94
95
96if __name__ == "__main__":

Callers 1

password.pyFile · 0.70

Calls 2

password_generatorFunction · 0.85

Tested by

no test coverage detected