<prompt> password urefu: 8 herufi Lazima kuwa na herufi kubwa Lazima kuwa na herufi ndogo Lazima kuwa na angalau namba mojaKuandika script kuzalisha random password ambayo inakidhi vigezo zifuatazo.  <response>: import randomimport stringdef random_passwordlength: int8: characters string.ascii_lowercase string.ascii_uppercase string.digits make sure password contains at least one uppercase, lowercase, and digit character password random.choicestring.ascii_uppercase random.choicestring.ascii_lowercase random.choicestring.digits generate the remaining random characters for i in rangelength-3: password random.choicecharacters password .joinrandom.samplepassword, lenpassword shuffle the characters return passwordprintrandom_password Example output: lD7JbLk1 