Тёмный

5 Counting Occurrences of characters in string 

MV Code Guide
Подписаться 610
Просмотров 16 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@chetangupta468
@chetangupta468 4 года назад
TAKE A BOW MAM... Your hard work reflects in all your videos... Keep going like this..
@Shermaine0739
@Shermaine0739 3 года назад
thank you very much! I have been looking for another way to do this instead of dict for 3 DAYS
@mvcodeguide
@mvcodeguide 3 года назад
Thats great!! Happy learning!!
@digambar6191
@digambar6191 Год назад
thnx mam,subscibed😊😊
@mvcodeguide
@mvcodeguide Год назад
Thank you
@shivangishahi1268
@shivangishahi1268 3 года назад
Ma'am please make a video on count of duplicate elements of array
@JagratiMaran
@JagratiMaran 2 года назад
Ma'am how to print the key whose value is maximum?
@pro.empire
@pro.empire Год назад
what is this for??
@Cheers14a
@Cheers14a 2 года назад
To not get the repetative data at output Append is used. But in count we take original and not that appended list.
@chetangupta468
@chetangupta468 4 года назад
Mam how can we count vowels??
@mvcodeguide
@mvcodeguide 4 года назад
Thanks for sharing your query.! I will make a video on this very soon..!
@chetangupta468
@chetangupta468 4 года назад
@@mvcodeguide Eagerly waiting mam..
@mvcodeguide
@mvcodeguide 4 года назад
@@chetangupta468 mvcodeguide.blogspot.com/2020/08/counting-vowels-in-string.html
@chetangupta468
@chetangupta468 4 года назад
Wowww... Blog is superb
@elisabethondo8140
@elisabethondo8140 3 года назад
how can use it without it counting characters like "?,."etc please
@mvcodeguide
@mvcodeguide 3 года назад
Means you want the program not to count occurrence of characters like ?,. Etc Am I right?
@mvcodeguide
@mvcodeguide 3 года назад
If I have understood your problem rightly, then here goes the solution for you mvcodeguide.blogspot.com/2020/08/counting-number-of-occurrences-of-each.html I have just updated my blog for your query. You can check it out!
@elisabethondo8140
@elisabethondo8140 3 года назад
@@mvcodeguide yes
@elisabethondo8140
@elisabethondo8140 3 года назад
@@mvcodeguide okay thaks
@mvcodeguide
@mvcodeguide 3 года назад
@@elisabethondo8140 Happy learning ☺️👍
@vidyakothawale1214
@vidyakothawale1214 2 года назад
By using function....plz anybody give ans me....fast.... without using inbuilt function
@mvcodeguide
@mvcodeguide 2 года назад
Hi, I have discussed two ways to solve the problem One is using count () method ie an inbuilt function Second is without using count () method Kindly check it out If you need code, you can find it in the description box I have shared the link of my blog Thanks
@AllInOne-dz4pt
@AllInOne-dz4pt 2 года назад
Madam tq
@mvcodeguide
@mvcodeguide 2 года назад
Most welcome 😊👍
@kvelez
@kvelez Год назад
CAD = "algoritmo" CHAR = 'o' steps = [] def steps_till_char(CAD, CHAR, i, steps, count, step): if i >= len(CAD): return steps if CAD[i] != CHAR: count = 0 step += 1 steps.append(count) else: steps.append(step) step = 0 return steps_till_char(CAD, CHAR, i+1, steps, count, step) print(steps_till_char(CAD, CHAR, 0, steps, 0, 0))
Далее
6.  Counting number of vowels in a string
8:34
Просмотров 1 тыс.
That was too fast! 😲
01:00
Просмотров 3,4 млн
Think Fast, Talk Smart: Communication Techniques
58:20
threading vs multiprocessing in python
22:31
Просмотров 587 тыс.
That was too fast! 😲
01:00
Просмотров 3,4 млн