# Generate strong password
import random
import string
def generate_password(length):
"""
Generate strong password with length
Args:
length (int): length of password
Returns:
password (str): strong password
"""
password = ''
for i in range(length):
password += random.choice(string.ascii_letters + string.digits)
return password
def main():
length = int(6) # length of password
password = generate_password(length)
print(password)
if __name__ == '__main__':
main()