letters = []
def write_letter(message):
letters.append(message)
def post_letter(letters):
print("\nSanta got your letters and soon will bring you what you asked for\n")
for letter in letters:
print(letter)
for i in range(4):
message = input("Please write your message for santa: ")
write_letter(message)
post_letter(letters)
def write_letter(message):
letters.append(message)
def post_letter(letters):
print("\nSanta got your letters and soon will bring you what you asked for\n")
for letter in letters:
print(letter)
for i in range(4):
message = input("Please write your message for santa: ")
write_letter(message)
post_letter(letters)
No comments:
Post a Comment