Latest web development tutorials

python3 islowerは()メソッド

python3文字列 python3文字列


説明

islowerは()文字列を検出する方法は、小文字で構成されています。

文法

islowerは()メソッドの構文:

str.islower()

パラメータ

  • なし。

戻り値

文字列は、英数字の少なくとも一つが含まれ、これらの(大文字と小文字を区別)のすべての文字が小文字であり、Trueを返し、そうでない場合はFalseの場合

次の例では、islowerは()インスタンスメソッドを示しています。

#!/usr/bin/python3

str = "w3big example....wow!!!"
print (str.islower())

str = "w3big example....wow!!!"
print (str.islower())

次のように上記の出力結果の例は次のとおりです。

False
True

python3文字列 python3文字列