当前位置:网站首页>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
>>>
边栏推荐
- Ue5 hot update - remote server automatic download and version detection (simplehotupdate)
- Typecho adds Baidu collection (automatic API submission plug-in and crawler protocol)
- PIL's image tool image reduction and splicing.
- Temperature sensor DS18B20 principle, with STM32 routine code
- Use go language to read TXT file and write it into Excel
- Could NOT find XXX (missing: XXX_LIBRARY XXX_DIR)
- mysql 盲注常见函数
- QT's excellent articles
- Use stm32cubemx tool to write the demo program of FreeRTOS
- The browser cannot access Baidu
猜你喜欢

Altium Designer 19.1.18 - 清除测量距离产生的信息

大学生活的自我总结-大一

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

Latex notes

Package ‘*****‘ has no installation candidate

II Simple NSIS installation package

A simple method to prove 1/t Fourier transform

Altium Designer 19.1.18 - 更改铺铜的透明度

万字详解八大排序 必读(代码+动图演示)

Play with grpc - go deep into concepts and principles
随机推荐
Opendrive arc drawing script
Global and Chinese market of rammers 2022-2028: Research Report on technology, participants, trends, market size and share
Ads usage skills
Butterfly theme beautification - Page frosted glass effect
From then on, I understand convolutional neural network (CNN)
1089 insert or merge, including test point 5
Set theory of Discrete Mathematics (I)
. Net service governance flow limiting middleware -fireflysoft RateLimit
deepin 20 kivy unable to get a window, abort
Global and Chinese market of resistivity meter 2022-2028: Research Report on technology, participants, trends, market size and share
repo. conda. An example of COM path error
The browser cannot access Baidu
Deepin get file (folder) list
Let me teach you how to develop a graphic editor
static的作用
Global and Chinese markets for anesthesia, breathing and sleep apnea devices 2022-2028: Research Report on technology, participants, trends, market size and share
·Practical website·
SQL JOINS
Numpy——1.數組的創建
QT excellent articles