Professional Documents
Culture Documents
Week3 Assignment
Week3 Assignment
Q1: Write a python program with nested while loops and if-else conditions to draw and
print the following pattern.
Q2: Assuming that you are a customer service agent responsible for sending emails to notify
customers of shipments. To reduce the workload, please write a python program as email
writing assistant.
Requirements of the email writing assistant program:
• Use a while loop to prompt input and repeat indefinitely (hint. while True:).
• Enter customer name and product name as input.
• Print email message with entered customer name and product name in the following
format (The content underlined in italics is required to be entered):
Example: