These functions take a string named word and a single or multi character named x as parameters. The function should return the number of times x appears in word.
The purpose of the project is just personal learning.
count_char_x returns the number of times x appears in word and works just with a single character named x.
count_multi_char_x returns the number of times x appears in word and it works when x is multiple characters long.
- Do count_char_x only works with a single character x? Haven't test it, must check it out.
- For searching both uppercase/lowercase
- Symbols and spaces
- Python 3
NA - It's only coding examples, there's no setup.
Project is: finished, - may come back and improve it, or not.
Based on Codecademy's Learn Python 3 course, Code Challenges: String Methods exercises