Converting Between Strings and Lists in Python

preview_player
Показать описание
You’ll explore string methods that convert between a string and some composite data type by either pasting objects together to make a string, or by breaking a string up into pieces. These methods operate on or return iterables, the general Python term for a sequential collection of objects.

Many of these methods return either a list or a tuple. A list encloses the collection of objects in square brackets ([]) and is mutable. A tuple encloses its objects in parentheses (()) and is immutable.

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

Thank you sir for your video. What does the word “ instance “ that we use in python mean in English language? What does the word “instance” mean in object oriented programming? What is the difference between instance and object?

mboed
Автор

very good voice and presentation, thanks, this is prima importance for code transmission

Автор

Hi there, Is there a way to convert a list of strings into line-by-line strings (which means each string in an independent line)?

rosesofficialhusband
Автор

what if my list of line is save in a text file in a certain folder in file explorer ?

thegilbertnjenga
Автор

when i used the code q and s i did not get same

jyothirab
Автор

Thanks for this Amazing Video.
Meanwhile can you please tell me how can I build a Python App which opens a Website and logins automatically from the DATA Provided from FORMS or DATABASE, Please tell me the Technique only.

adityaray
Автор

what is this extension that shows this nice hints?

tommyjado
Автор

Does anyone know what editor is he using?

kaiyuan
Автор

How can I convert a string without spaces as “home” in a list?

jeffbezos
Автор

Fun challenge:
S="[a, b, c]"
How to convert S to list?
We want to get S=[a, b, c]

uttamsharma