In python, what is the simplest way to count the occurrence of the character ‘e’ in the string “hello friend”? I tried using .count but i’m not sure how to use it
Impara in modo più efficiente, gratuitamente:
Introduzione a Python
7,1M studenti
Introduzione a Java
4,7M studenti
Introduzione a C
1,5M studenti
Introduzione a HTML
7,5M studenti