Python ~ Grammar speed learning ~

isalpha()  #Returns whether all letters are alphabetic (in short, letters, not numbers).
isdigit()  #Returns whether all letters are numbers (including full-width numbers).
islower()  #Returns whether it contains case-sensitive characters, all of which are lowercase.
isupper()  #Returns whether all uppercase and lowercase letters are included and all are uppercase.
lower()  #Converts case-sensitive characters to lowercase and returns. The other characters remain the same.
upper()  #Converts case-sensitive characters to uppercase and returns. The other characters remain the same.

#There are many verification formulas for character strings with isXXX, so look for them if you want to make an appropriate judgment.

count(sub[, start[, end]])  # [start, end)Returns the number of occurrences of sub in the range of.
find(sub[, start[, end]])  # [start, end)Returns the position where sub first appears in the range of. If not found-1 Return.
index(sub[, start[, end]])  # [start, end)Returns the position where sub first appears in the range of. If not found, an error is returned.
endswith(suffix[, start[, end]])  # [start, end)Returns whether it ends with a suffix in the range of.
startswith(prefix[, start[, end]])  # [start, end)Returns whether or not it starts with a prefix in the range of.

Recommended Posts

Python ~ Grammar speed learning ~
python learning
[Python] Learning Note 1
Python learning notes
python grammar check
python learning output
Python learning site
Python learning day 4
Python Deep Learning
Python grammar notes
Python learning (supplement)
Python3 basic grammar
Deep learning × Python
python learning notes
Notes on PyQ machine learning python grammar
Python class (Python learning memo ⑦)
Python basic grammar / algorithm
Learning Python with ChemTHEATER 03
"Object-oriented" learning with python
Python module (Python learning memo ④)
Reinforcement learning 1 Python installation
Learning Python with ChemTHEATER 05-1
Python: Deep Learning Practices
Python: Unsupervised Learning: Basics
Python list comprehension speed
Python basic grammar (miscellaneous)
Private Python learning procedure
Learning Python with ChemTHEATER 02
Learning Python with ChemTHEATER 01
Python basic grammar note (4)
Python basic grammar note (3)
Python: Deep Learning Tuning
Python + Unity Reinforcement Learning (Learning)
Python basic grammar memo
Python: Supervised Learning (Regression)
Python: Supervised Learning (Classification)
Effective Python Learning Memorandum Day 15 [15/100]
Basic Python 3 grammar (some Python iterations)
O'Reilly python3 Primer Learning Notes
Python, Java, C ++ speed comparison
Grammar features added from Python3.6
Learning flow for Python beginners
Effective Python Learning Memorandum Day 6 [6/100]
Effective Python Learning Memorandum Day 12 [12/100]
Python: Supervised Learning: Hyperparameters Part 1
Python learning plan for AI learning
Effective Python Learning Memorandum Day 9 [9/100]
Effective Python Learning Memorandum Day 8 [8/100]
Reinforcement learning starting with Python
Machine learning with Python! Preparation
Python installation and basic grammar
Python Basic Grammar Memo (Part 1)
Measure WiFi speed with Python
Python data analysis learning notes
Python basic grammar (miscellaneous) Memo (3)
Effective Python Learning Memorandum Day 14 [14/100]
Effective Python Learning Memorandum Day 1 [1/100]
Python basic grammar (miscellaneous) Memo (2)
Python Machine Learning Programming> Keywords
Python: Supervised Learning: Hyperparameters Part 2
Basic Python grammar for beginners