From ccde5d4b2d7e039d0376bb7d469d8938d9afee00 Mon Sep 17 00:00:00 2001 From: Hritik Kaushik Date: Thu, 14 May 2026 15:31:38 +0530 Subject: [PATCH] fix(curriculum): remove first person language from email simulator workshop (#67361) --- .../blocks/workshop-email-simulator/6852f06fdde1b4634a263f03.md | 2 +- .../blocks/workshop-email-simulator/6852f0c3fcedb964ab959921.md | 2 +- .../blocks/workshop-email-simulator/6853f2da9b8ed891e9fdc5fc.md | 2 +- .../blocks/workshop-email-simulator/6853f34ff93594934f6636d9.md | 2 +- .../blocks/workshop-email-simulator/6853f553d90a2f9874ff9d0e.md | 2 +- .../blocks/workshop-email-simulator/6853f68dd3affa9adb2e6d99.md | 2 +- .../blocks/workshop-email-simulator/6853f70470f45d9c280af659.md | 2 +- .../blocks/workshop-email-simulator/685941422c30cd3dc41b1d0a.md | 2 +- .../blocks/workshop-email-simulator/6859523c793377706e19e9a0.md | 2 +- .../blocks/workshop-email-simulator/685c1eba966c6396850736ea.md | 2 +- .../blocks/workshop-email-simulator/685d2fd1f309b9191f257c55.md | 2 +- .../blocks/workshop-email-simulator/685d53b5e4f5784562a12d1b.md | 2 +- .../blocks/workshop-email-simulator/685d53ec88a16a4643c2437b.md | 2 +- .../blocks/workshop-email-simulator/688754f3494b17e0b352d67d.md | 2 +- .../blocks/workshop-email-simulator/68875521efc1a4e3f0c570e3.md | 2 +- .../blocks/workshop-email-simulator/68879d0a2aeb368e26559635.md | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/6852f06fdde1b4634a263f03.md b/curriculum/challenges/english/blocks/workshop-email-simulator/6852f06fdde1b4634a263f03.md index 76a1c83e1bd..62e8fc5f03e 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/6852f06fdde1b4634a263f03.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/6852f06fdde1b4634a263f03.md @@ -7,7 +7,7 @@ dashedName: step-4 # --description-- -Now let's test the `Email` class by creating an email object and checking that it stores information correctly. You'll print a couple of attributes to verify everything works. +Now test the `Email` class by creating an email object and checking that it stores information correctly. You'll print a couple of attributes to verify everything works. Create an email object named `email_obj` with `alice@example.com` as the sender, `bob@example.com` as the receiver, `Hello` as the subject, and `Hi Bob!` as the body. Then print the `sender` and `subject` attributes as separate print statements to verify they are stored correctly. diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/6852f0c3fcedb964ab959921.md b/curriculum/challenges/english/blocks/workshop-email-simulator/6852f0c3fcedb964ab959921.md index bf73b8bdadc..c57a5508c19 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/6852f0c3fcedb964ab959921.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/6852f0c3fcedb964ab959921.md @@ -7,7 +7,7 @@ dashedName: step-6 # --description-- -Now let's test that the `read` attribute was added correctly to your `Email` class. Since you already have an email object from the previous steps, print the `read` attribute to see that it's now `False` by default. +Now test that the `read` attribute was added correctly to your `Email` class. Since you already have an email object from the previous steps, print the `read` attribute to see that it's now `False` by default. # --hints-- diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f2da9b8ed891e9fdc5fc.md b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f2da9b8ed891e9fdc5fc.md index 39cefda1beb..31d48b20c77 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f2da9b8ed891e9fdc5fc.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f2da9b8ed891e9fdc5fc.md @@ -7,7 +7,7 @@ dashedName: step-23 # --description-- -Now let's display the sender and receiver information. To show who sent and received the email, add two print statements to the `display_full_email` method in this format: +Now display the sender and receiver information. To show who sent and received the email, add two print statements to the `display_full_email` method in this format: - `From: sender` where `sender` is replaced with the sender's name - `To: receiver` where `receiver` is replaced with the receiver's name diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f34ff93594934f6636d9.md b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f34ff93594934f6636d9.md index c69d6aa256b..3680d66dc89 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f34ff93594934f6636d9.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f34ff93594934f6636d9.md @@ -7,7 +7,7 @@ dashedName: step-27 # --description-- -Let's add a string representation to our `Email` class so we can display brief email summaries. +Add a string representation to the `Email` class to display brief email summaries. Add a `__str__` method to the `Email` class that takes `self` as a parameter. diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f553d90a2f9874ff9d0e.md b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f553d90a2f9874ff9d0e.md index 63e9a070651..69d6c90d0bd 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f553d90a2f9874ff9d0e.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f553d90a2f9874ff9d0e.md @@ -7,7 +7,7 @@ dashedName: step-39 # --description-- -Now we're ready to add timestamps to our emails to track when they were sent and received. +Now you're ready to add timestamps to the emails to track when they were sent and received. First, import the `datetime` module at the top of your file. diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f68dd3affa9adb2e6d99.md b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f68dd3affa9adb2e6d99.md index edbcdb28d7d..5d477ce92a4 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f68dd3affa9adb2e6d99.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f68dd3affa9adb2e6d99.md @@ -7,7 +7,7 @@ dashedName: step-41 # --description-- -Great! Now that you've practiced datetime formatting, remove the `current_time` variable and the print statement from the bottom of your code. We'll integrate timestamps into the `Email` class in the next step. +Great! Now that you've practiced datetime formatting, remove the `current_time` variable and the print statement from the bottom of your code. You'll integrate timestamps into the `Email` class in the next step. # --hints-- diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f70470f45d9c280af659.md b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f70470f45d9c280af659.md index 94be87c4115..33c8ca73abb 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/6853f70470f45d9c280af659.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/6853f70470f45d9c280af659.md @@ -7,7 +7,7 @@ dashedName: step-43 # --description-- -Now let's show the timestamp when displaying the full email. +Now show the timestamp when displaying the full email. Below the subject, print the received timestamp using `strftime` to format it as `'%Y-%m-%d %H:%M'`. Use the following format: diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/685941422c30cd3dc41b1d0a.md b/curriculum/challenges/english/blocks/workshop-email-simulator/685941422c30cd3dc41b1d0a.md index accbd0684a8..4def59ba4e7 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/685941422c30cd3dc41b1d0a.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/685941422c30cd3dc41b1d0a.md @@ -7,7 +7,7 @@ dashedName: step-22 # --description-- -Now let's add a header to the email display. In the `display_full_email` method, after calling `mark_as_read()`, print `\n--- Email ---` to start the email display with a clear header. +Now add a header to the email display. In the `display_full_email` method, after calling `mark_as_read()`, print `\n--- Email ---` to start the email display with a clear header. # --hints-- diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/6859523c793377706e19e9a0.md b/curriculum/challenges/english/blocks/workshop-email-simulator/6859523c793377706e19e9a0.md index aef40cace73..72153ecd22d 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/6859523c793377706e19e9a0.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/6859523c793377706e19e9a0.md @@ -7,7 +7,7 @@ dashedName: step-42 # --description-- -Now let's add timestamps to our emails. In the Email class `__init__` method, create a `timestamp` attribute and assign the current time to it to automatically set a timestamp for when the email was created. +Now add timestamps to the emails. In the Email class `__init__` method, create a `timestamp` attribute and assign the current time to it to automatically set a timestamp for when the email was created. This is helpful for tracking when messages were sent and received. diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/685c1eba966c6396850736ea.md b/curriculum/challenges/english/blocks/workshop-email-simulator/685c1eba966c6396850736ea.md index 40f5fb67613..3966976eb7e 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/685c1eba966c6396850736ea.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/685c1eba966c6396850736ea.md @@ -7,7 +7,7 @@ dashedName: step-13 # --description-- -While users can send emails and have inboxes, we need a dedicated class to manage inbox operations efficiently. +While users can send emails and have inboxes, a dedicated class is needed to manage inbox operations efficiently. The `Inbox` class will store a list of emails and provide methods to add new emails, list all emails, and manage them. diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/685d2fd1f309b9191f257c55.md b/curriculum/challenges/english/blocks/workshop-email-simulator/685d2fd1f309b9191f257c55.md index 35395e53213..830a421010f 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/685d2fd1f309b9191f257c55.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/685d2fd1f309b9191f257c55.md @@ -7,7 +7,7 @@ dashedName: step-40 # --description-- -Before integrating timestamps into our email system, let's practice working with datetime formatting. The `datetime.datetime.now()` function gives us the current date and time, and we can use the `strftime()` method to format it in different ways. +Before integrating timestamps into the email system, practice working with datetime formatting. The `datetime.datetime.now()` function gives the current date and time, and you can use the `strftime()` method to format it in different ways. Here's how `strftime()` works with format codes: diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/685d53b5e4f5784562a12d1b.md b/curriculum/challenges/english/blocks/workshop-email-simulator/685d53b5e4f5784562a12d1b.md index 3b6a0f4175d..abb8a9af7af 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/685d53b5e4f5784562a12d1b.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/685d53b5e4f5784562a12d1b.md @@ -7,7 +7,7 @@ dashedName: step-45 # --description-- -Users should get confirmation when they successfully send an email. Let's improve the user experience by adding feedback to the `send_email` method. +Users should get confirmation when they successfully send an email. Improve the user experience by adding feedback to the `send_email` method. In the `send_email` method of the `User` class, add a `print` statement after the email is sent that shows confirmation. The message should be `Email sent from [sender_name] to [receiver_name]!\n`, where `[sender_name]` is replaced by the sender's name and `[receiver_name]` is replaced by the receiver's name. diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/685d53ec88a16a4643c2437b.md b/curriculum/challenges/english/blocks/workshop-email-simulator/685d53ec88a16a4643c2437b.md index 0478d9df302..c71c2a6b1bc 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/685d53ec88a16a4643c2437b.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/685d53ec88a16a4643c2437b.md @@ -7,7 +7,7 @@ dashedName: step-44 # --description-- -Now let's also show timestamps in the email listing. Update the `__str__` method in the `Email` class to include the timestamp after the subject. +Now also show timestamps in the email listing. Update the `__str__` method in the `Email` class to include the timestamp after the subject. Modify the return statement to include the timestamp formatted as `'%Y-%m-%d %H:%M'` at the end, separated by ` | Time: `. diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/688754f3494b17e0b352d67d.md b/curriculum/challenges/english/blocks/workshop-email-simulator/688754f3494b17e0b352d67d.md index e65b10e5523..5f57aab41cb 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/688754f3494b17e0b352d67d.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/688754f3494b17e0b352d67d.md @@ -7,7 +7,7 @@ dashedName: step-17 # --description-- -Now it's time to test our complete email system! Let's create some users and see the email functionality in action. +Now it's time to test the complete email system! Create two users and see the email functionality in action. Create two User objects: `alice` with name `"Alice"` and `bob` with name `"Bob"`. This will demonstrate how users can be created and interact with each other. diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/68875521efc1a4e3f0c570e3.md b/curriculum/challenges/english/blocks/workshop-email-simulator/68875521efc1a4e3f0c570e3.md index 543cf1c56ce..900378bb8a6 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/68875521efc1a4e3f0c570e3.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/68875521efc1a4e3f0c570e3.md @@ -7,7 +7,7 @@ dashedName: step-19 # --description-- -Now let's verify that the email was delivered successfully by printing the length of Bob's inbox emails. +Now verify that the email was delivered successfully by printing the length of Bob's inbox emails. # --hints-- diff --git a/curriculum/challenges/english/blocks/workshop-email-simulator/68879d0a2aeb368e26559635.md b/curriculum/challenges/english/blocks/workshop-email-simulator/68879d0a2aeb368e26559635.md index 0a013329c6e..cd8d5b1372d 100644 --- a/curriculum/challenges/english/blocks/workshop-email-simulator/68879d0a2aeb368e26559635.md +++ b/curriculum/challenges/english/blocks/workshop-email-simulator/68879d0a2aeb368e26559635.md @@ -7,7 +7,7 @@ dashedName: step-26 # --description-- -Finally, let's add a footer to complete the email display format. Add a final print statement: `print('------------\n')` to close off the email display with a nice separator line. +Finally, add a footer to complete the email display format. Add a final print statement: `print('------------\n')` to close off the email display with a nice separator line. # --hints--