Count Function In Python | Neeraj Sharma

preview_player
Показать описание
The count function in python:
- can be used with both list and string
- can be used to count an element or a ward occurrence in a list or string
- Watch out the video to understand it with examples

Рекомендации по теме
Комментарии
Автор

Ek doubt hai agar ham type karte hai -
abmo="Akash is a good boy"
print(abmo.count(""))

Output = 20

Yaha output 20 kyu aa rha hai?? Jabki sara letters count karne par 19 hota hai...plz reply..
Plz

Priyanka