Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 285 Bytes

File metadata and controls

3 lines (2 loc) · 285 Bytes

Define a method named count_one_char that accepts a string and a char as inputs and returns the number of times the char occurs in the string as an int.