Python Tutorial in Hindi | Length of String in Python | String in Python | Python Tutorial
ฝัง
- เผยแพร่เมื่อ 10 พ.ย. 2024
- Python Tutorial in Hindi | Length of String in Python | String in Python | Python Tutorial
This video is part of python tutorial for beginners in hindi. In this video,i have explained about string operations in python. Python strings have a special inbuilt function len() for calculating length of string. Let's see how to use this function along with some basic operations on strings.
queries covered:-
1) string operations in python
2) length of string in python
3) python tutorial for beginners
Hello guys,welcome to codeyug to build your computer science skills.Here,you will learn programming tutorials and computer science tutorials from basics to advanced.
source code :- will upload soon....
Thanks for watching this video
Subscribe codeyug for more programming tutorials.
bit.ly/3h3Bv0c
About this channel:-
This channel provides free tutorials on programming,coding,web development.There are programming tutorials which covers from basics to advanced absolutely in hindi.
Our social links:-
you tube:- bit.ly/3h3Bv0c
instagram:- bit.ly/3mlspQu
gmail :- shantanukejkar@gmail.com
creator:-
-----shantanu kejkar------
#python #python3 #codeyug #string #strings #operations #programming #coding
Master in Python :- th-cam.com/play/PLI4OVrCFuY543naNBsCaRLrLSxI7MUOzZ.html
can you please share this python playlist in pdf ? share it
#small correction bro in 2nd line.
string = input("Enter any string: ")
vowels = ( "a", "e", "i" , "o", "u", "A", "E","I" ,"O","U")
count= 0
for i in string:
if i in vowels:
count+=1
print("The number of vowels are: " , count)
Just a simple example.. Modified same code future me mil jayega.. Lowe use krenge hum
@@Codeyug
Can i use this in first line ??
string = input ("Enter a name :--").lower
str1 = input("Enter a string").lower()
vowels = ['a', 'i', 'u', 'o', 'e']
count = 0
for ch in str1:
if ch in vowels:
count += 1
print(count)
Well.. Keep going