as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
write a code in python that will generate a random string of 5 upper-case letters.
user
import string 
import random 

def generate_random_string(): 
    characters = string.ascii_uppercase
    random_string = "".join(random.choice(characters) for x in range(5))
    return random_string

print(generate_random_string())
assistant