0
Full information about 'string' in python
6 Answers
+ 4
Everything you need to know about Strings in Python https://www.w3schools.com/python/python_strings.asp
+ 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
+ 1
Slick has explained basics but you know you can use these {} curly braces for adding a value somewhere in sentences.
+ 1
The best place when you need full information is to look at the official documentation.
www.python.org
+ 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
0
There's too much you can do with them to type out. Luckily someones already done that ^^^