Given siring values for the sender recipient and subject of

Given siring values for the sender, recipient, and subject of an email, write a string formal expression that uses variables sender, recipient, and subject and that prints as shown here: >>> sender = \'tim@abc.com\' >>> recipient = \'tom@xyz.org >>> subject = \'Hello!\'\' >>> print(???) # fill in From: tim@abc.com To: tomQxyz.org Subject: Hello!

Solution

sender = \'tim@abc.com\'
recipient = \'tom@xyz.org\'
subject = \'Hello!\'
print(\'From: \'+sender+\'\ To: \'+recipient+\'\ Subject: \'+subject);

Output:

From: tim@abc.com
To: tom@xyz.org
Subject: Hello!

 Given siring values for the sender, recipient, and subject of an email, write a string formal expression that uses variables sender, recipient, and subject and

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site