Tell us what’s happening:
There is no error message in the terminal. but the code does not pass. Issue: Creating email_obj with specified parameters. Already done.
Your code so far
class Email:
def __init__(self, sender, receiver, subject, body):
self.sender = sender
self.receiver = receiver
self.subject = subject
self.body = body
# User Editable Region
email_obj = Email(
sender="alice@example.com",
receiver="bob@example.com",
subject="Hello",
body="Hi Bob!")
print(email_obj.sender)
print(email_obj.subject)
# User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Challenge Information:
Build an Email Simulator - Step 4