MCPcopy Create free account
hub / github.com/geekcomputers/Python / decide_operation

Method decide_operation

Password Generator/pass_gen.py:69–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67
68class Run:
69 def decide_operation(self):
70 user_input = input(": ")
71 try:
72 int(user_input)
73 except:
74 Interface.change_has_characters(user_input)
75 else:
76 Interface().generate_password(int(user_input))
77 finally:
78 print("\n\n")
79
80 def run(self):
81 menu = f"""Welcome to the PassGen App!

Callers 1

runMethod · 0.95

Calls 3

InterfaceClass · 0.85
change_has_charactersMethod · 0.80
generate_passwordMethod · 0.80

Tested by

no test coverage detected