Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 954 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 954 Bytes

count_x_in_word_Py_3

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.

Description

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.

To-do list:

  • 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

Technologies

  • Python 3

Setup

NA - It's only coding examples, there's no setup.

Status

Project is: finished, - may come back and improve it, or not.

References

Based on Codecademy's Learn Python 3 course, Code Challenges: String Methods exercises