-
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
Solution #1953
base: master
Are you sure you want to change the base?
Solution #1953
Conversation
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 the core functionality of your task hasn't been implemented yet. The count_occurrences
function is defined but lacks the necessary logic to count occurrences of a letter in a phrase in a case-insensitive manner. Here are a few key points to address:
-
Function Implementation: Please implement the logic within the
count_occurrences
function to ensure it counts the occurrences of a specified letter in the given phrase. -
Case Insensitivity: Make sure to handle case insensitivity by converting both the phrase and the letter to the same case using methods like
str.lower()
orstr.upper()
. -
Utilize Built-in Functions: Consider using Python's built-in string methods to achieve this task efficiently without loops.
Once these changes are made, your solution will meet the task requirements. Keep up the great work, and don't hesitate to reach out if you have any questions! 🚀
✨ 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.
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.
code is changed
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.
Tests Failed
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.
Good Job!
No description provided.