- Hands-On Penetration Testing with Python
- Furqan Khan
- 91字
- 2021-07-02 14:13:49
The endswith(), isdigit(), isalpha(), islower(), isupper(), and capitalize() methods
The endswith() method checks whether the given string ends with a specific character or word that we pass as an argument:

The isdigit() method checks whether the given string is of a digit type or not:

The isalpha() method checks whether the given string is of an alphabetic character type or not:

The islower() method checks whether the string is lowercase, while the isupper() method checks if the string is uppercase. The capitalize() method puts a given string into sentence case:

推薦閱讀
- Designing Machine Learning Systems with Python
- Java多線程編程實戰指南:設計模式篇(第2版)
- Learning C# by Developing Games with Unity 2020
- The Modern C++ Challenge
- Python自動化運維快速入門(第2版)
- Mastering Apache Spark 2.x(Second Edition)
- PLC應用技術(三菱FX2N系列)
- Android驅動開發權威指南
- Unity Character Animation with Mecanim
- Python程序設計開發寶典
- Learning Splunk Web Framework
- C語言程序設計教程
- SQL Server實例教程(2008版)
- C# 10核心技術指南
- Swift iOS Programming for Kids