String summary 1

String

-Python has str type as the data type that handles character strings.

String arithmetic

a="note"
b="book"
a+b

Execution result


"notebook"

Output elements character by character using for statement

for a in "book":
    print(i)

Execution result


b
o
o
k

Recommended Posts

String summary 1
Summary of string operations
Python Summary
samba summary
String format
Django Summary
python-pptx summary
Linux Summary
Python summary
pyenv summary
raw string
pytest summary
Python string
matplotlib summary
Python: String concatenation
Python string format
AtCoderBeginnerContest180 Review & Summary
Kaggle Summary: Outbrain # 2
LINQ library summary
Sphinx setup summary
python string slice
AtCoderBeginnerContest181 Review & Summary
Digital technology summary
AtCoderBeginnerContest182 Review & Summary
Python tutorial summary
Simple string animation
#Random string generation
Documentation string reconsidered
Character range / character string range
AtCoderBeginnerContest183 Review & Summary
Linux Command Summary
AtCoderBeginnerContest179 Review & Summary
String search algorithm
Kaggle Summary: Outbrain # 1
update, upgrade summary
Standard input summary
Django filter summary
"Parentheses character string" Simple parser implementation example summary
Python2 string type
python related summary
2020 IT Conference Summary
Python string format
Visualize summary statistics
Python # string type
pytest usage summary
Remove'some character'from'some string'.
Docker command summary
Python string inversion
Python basics summary
Kaggle related summary