I’m confused what are you trying to ask? What is the python?
I have write a very simple code for you in python and i hope it will help you a lot.
def generateString(char, val):
print(char * val)
Explanation:
This is how you can create your function in python and this function will give you the desired output.
How to Call a function:
generateString('a',12)
this is how you can call the function to get output.
I hope you get the idea.
Answer:
B. Longer passwords
Explanation:
If the password is longer, it requires more incorrect attempts to find it, so the system could identify a potential hacker attempt. Smaller but more complex passwords could be identified by mistype or forgotten passwords.