<prompt> Kuandika code katika Python ambayo itazalisha random kamba ya 5 herufi kubwa.  <response>: Sure. Heres the code in Python 3 that generates a random string of 5 upper-case letters:pythonimport stringimport randomdef random_stringlength: int 5: result .joinrandom.choicestring.ascii_uppercase for _ in rangelength return result Exampleprintrandom_string5This function generates a random string with a default length of 5 using the random.choice method to pick a random character from a set of upper-case ASCII characters defined in string.ascii_uppercase. The length parameter is optional and can be adjusted to generate a string of any length. 