当前位置:网站首页>String judgment
String judgment
2022-07-05 07:47:00 【Fall in love with wx】
qingxin = 520 #qingxin For the string
qingxin.isalnum() All characters are numbers or letters , Go back to Ture, Otherwise return to False.
qingxin.isalpha() All characters are letters , Go back to Ture, Otherwise return to False.
qingxin.isdigit() All characters are numbers , Go back to Ture, Otherwise return to False.
qingxin.islower() All characters are lowercase , Go back to Ture, Otherwise return to False.
qingxin.isupper() All characters are uppercase , Go back to Ture, Otherwise return to False.
qingxin.istitle() All words are capitalized , Go back to Ture, Otherwise return to False.
qingxin.isspace() All characters are blank , Go back to Ture, Otherwise return to False.
such as
>>> wangxi = "I LOVE WANGXI"
>>> wangxi.isupper()
True
>>>
边栏推荐
- Markdown tips
- Extended application of single chip microcomputer-06 independent key
- editplus
- STM32 learning method
- Software designer: 03 database system
- Scm-05 basis of independent keyboard
- MySQL blind note common functions
- String alignment method, self use, synthesis, newrlcjust
- Altium Designer 19.1.18 - 清除测量距离产生的信息
- Apple animation optimization
猜你喜欢

What is deep learning?

软件设计师:03-数据库系统

Leetcode solution - number of islands

Altium Designer 19.1.18 - 隐藏某一个网络的飞线

Practical application cases of digital Twins - fans

mysql 盲注常见函数

Ue5 hot update - remote server automatic download and version detection (simplehotupdate)

Close of office 365 reading

数字孪生实际应用案例-风机篇

Numpy——1.數組的創建
随机推荐
STM32 knowledge points
cygwin
Batch modify the txt file code to UTF-8 (notepad++)
Numpy——1.數組的創建
Win10 shortcut key
Altium designer 19.1.18 - clear information generated by measuring distance
Summary of STM32 serial port sending and receiving data methods
Global and Chinese market of blackbody calibration source 2022-2028: Research Report on technology, participants, trends, market size and share
Selenium element positioning
The folder directly enters CMD mode, with the same folder location
"Source code interpretation" famous programmer TJ's only library
Basic knowledge of public security -- FB
What is deep learning?
Typecho adds Baidu collection (automatic API submission plug-in and crawler protocol)
Altium designer 19.1.18 - Import frame
Leetcode solution - number of islands
Set theory of Discrete Mathematics (I)
STM32 learning method
Calibre garbled
Scm-05 basis of independent keyboard