0

Full information about 'string' in python

12th Apr 2020, 4:05 PM
Anmol
Anmol - avatar
6 Answers
+ 4
Everything you need to know about Strings in Python https://www.w3schools.com/python/python_strings.asp
12th Apr 2020, 4:20 PM
PROMETHEUS
PROMETHEUS - avatar
+ 3
Anything in between these guys: ' ' or " " is a string. a doc string is anything in between triple quotes ''' ''' or """ """. Docstrings can span several lines. Strings can be added to other strings only. But, strings may be multiplied by non float intergers. Strings may be assigned to variables and also put in lists and in dictionaries as keys AND values. There's the basics, but after you are comfortable, get used to formatting
12th Apr 2020, 4:11 PM
Slick
Slick - avatar
+ 1
Slick has explained basics but you know you can use these {} curly braces for adding a value somewhere in sentences.
12th Apr 2020, 7:43 PM
Nikola Tesla
Nikola Tesla - avatar
+ 1
The best place when you need full information is to look at the official documentation. www.python.org
12th Apr 2020, 9:52 PM
HonFu
HonFu - avatar
+ 1
Full information like looking at all the standard library doc strings can be very confusing and overwhelming for a beginner. I was very overwhelmed not too long ago. Just take baby steps and keep at it as often as possible and those doc strings will start to make sense
13th Apr 2020, 12:54 AM
Slick
Slick - avatar
0
There's too much you can do with them to type out. Luckily someones already done that ^^^
12th Apr 2020, 4:22 PM
Slick
Slick - avatar