emails pastebin class Email: def __init__(self, sender, receiver, content): self.is_sent = False self.sender = sender self.receiver = receiver self.content = content def send(self): self.is_sent = True def get_info(self): emails pastebin How to dowload it? emails pastebin return f"{self.sender} says to {self.receiver}: {self.content}. Sent: {self.is_sent}" emails = [] line = input() while line != "Stop": email = line.split(' ') from_person = email[0] to_person = email[1] message = email[2] current_email = Email(from_person, to_person, message) emails pastebin How to get it? emails pastebin emails.append(current_email) line = input() indices = list(map(int, input().split(', '))) for index in indices: emails[index].send() for email in emails: emails pastebin How to get it? emails pastebin print(email.get_info()) emails pastebin