Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try #2160

Open
wants to merge 10 commits into
base: fix-test
Choose a base branch
from
Open

try #2160

wants to merge 10 commits into from

Conversation

Alex-x000
Copy link

No description provided.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


Hello! 😊 It looks like you're on the right track, but there's one important piece missing: the implementation of the count_occurrences function. Currently, the function only contains a placeholder comment and a pass statement. To complete the task, you'll need to add logic to count how many times the specified letter appears in the phrase, treating both as case insensitive. Once you implement this, your tests should pass successfully. Keep up the great work, and don't hesitate to reach out if you need any help! 🚀

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

🔄 Fix the issues, commit the changes, and then re-request my review using the Re-request review button in the Reviewers tab.

# write your code here
pass

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function count_occurrences is currently not implemented. Replace the pass statement with logic to count how many times letter appears in phrase. You can use a loop or a string method like str.count() to achieve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants