Python Tutorial in Hindi | Join Method in Python | String in Python | Split & Join in Python

preview_player
Показать описание
Python Tutorial in Hindi | Join Method in Python | String in Python | Split & Join in Python
This video is part of python tutorial for beginners in hindi. In this video, i have explained about join function in python. join is most important inbuilt method of string as it is used mostly in problem solving. Let's understand join function and it's syntax with examples. It is reverse of split() method in python.
queries covered:-
1) join function in python
2) python join function
3) string in python
4) join in python

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 :-
Thanks for watching this video
Subscribe codeyug for more programming tutorials.
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:-
creator:-
------shantanu kejkar-------
#join #python #python3 #codeyug #programming #coding #tutorial
Рекомендации по теме
Комментарии
Автор

Excellent explaining. Please make more videos like this

dattatraysuryawanshi
Автор

#join() method

"""join() convert list to string.

The join () method takes all the item in an iterable and joins them into one string

syntax:
separator.join(iterable)

iterable : obejects capable returning its member one at a time. general iterable are the collection of item example : list, tuple, set, string, Dictinoary.

"""

list1 = ["A", "B", "C"]
string= ":".join(list1)
print(string)

list2 = ["A", "E", "I", "O", "U"] #the item in the list should be string not int
list3 = "".join(list2)
print(list2)
print(list3)
print(type(list3))

lang = {"python", "c", "c++"}
lang1= "--".join(lang)
print(lang)
print(lang1)

country = {'india' : 1, 'Nepal' : 2, 'England' : 3}
print(", country : ".join(country))

KaranSinghD-yjep
visit shbcf.ru