2. Show your code for a.
a. Write a portion of a computer program (in any language) thatwill generate and print all six lowercase letter passwords.
b. How many passwords does this generate?
Answer
import random
m = “abcdefghijklmnopqrstuvwxyz”
plen = 6
p = “”.join(random.sample(m,plen))
print(p)
if you have any doubt then please ask me without any hesitationin the
OR
OR