-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
base: fix-test
Are you sure you want to change the base?
try #2160
Conversation
refactor .gitignore
Enhanced the README.md with a comprehensive task description for `count_occurrences`, including examples and function signature. Removed placeholder comments from the function implementation in app/main.py to prepare for actual code.
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
No description provided.