<filename>HW7_task2.py
test_message = "This is a test message"
count = 0
for i in test_message:
    if i == 'e':
        count = count + 1
print(f"Count of 'e' in test message is: {count}")

<filename>HW7_task2.py
test_message = "This is a test message"
count = 0
for i in test_message:
    if i == 'e':
        count = count + 1
print(f"Count of 'e' in test message is: {count}")
