Python Program to Count the Number of Digits and Letters in a String

preview_player
Показать описание
In this video, you will learn a python program to count the number of Digits and Letters in a string
We will do so by using the inbuilt python isdigit() and isalpha() method and also learn how python returns multiple outputs from the function.

In this video you will learn:
- how to read input from user in python
- how to create a function in python
- how to use for loop for iteration in python
- how to call python built in function
- count number of Digits and Letters in a python string
- isdigit method in python
- isalpha method in python
- if condition in python
- how to return multiple outputs in python
- multiple returns in python

Want to learn more from me?

Python examples complete Playlist :
Java examples complete Playlist :

#PythonTutorial
#PythonTutorialForBeginners
#PythonProgramToCountNumberOfDigitsAndLettersInString
#CountDigitsInPython
#CountLettersInPython
#MultipleReturnsInPython
#StringInPython
#PythonExamples

Subscribe to my other channel for random videos:

Follow us on:

Support:

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

GREAT VIDEO!!!! Thank you from sunny Arizona! Much love to you!

Native_love
Автор

I was stuck in a question since yesterday... thanks for this video! helped me solve it...

ajadityajain
Автор

Can u find even mumber only from alphanumeric and print those number

mangalpardeshi
Автор

So, how can we get numbers if input string is
"25python 30 anjali45"
So, i like to get output as
25, 30, 45.

PavanKumar-uxdq
Автор

Count number of character Space, how?

tanganhminh
Автор

@ 2:50 Sir y are U calling variables again?

salahuddinkhan
Автор

Why is else in place of elif showing invalid syntax? Can't else be used for conditions?

Itachi-xyjy
Автор

Good but I want same program using while loop

roohinaaz
Автор

why are you complicating things so much

ashishranjan
Автор

Can u find even mumber only from alphanumeric and print those number

mangalpardeshi