HF RL Explorer

Task: Count Character Occurrences in a String

Task: Count Character Occurrences in a String: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that counts the number of occurrences of a specific character in a given string.

The task

Write a Python script that counts the number of occurrences of a specific character in a given string.

Part of PrimeIntellect/Terminal-Lego-15k.