islower() 関数を使う。
例
print('abcde'.islower())
print('abcDe'.islower())
結果
True
False
雑記
投稿日:
islower() 関数を使う。
print('abcde'.islower())
print('abcDe'.islower())
True
False
執筆者:seyanen
関連記事
matplotlib で、粗い刻みと細かい刻みの目盛りを表示する方法
set_major_locator で粗い刻みの目盛りを調整する。 set_minor_locator で、細かい刻みの目盛りを調整する。 以下の例で set_major_formatter は、表示 …
pyplot.errorbar を使って設定する。 オプションの詳細は https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.erro …
2023/01/18
matplotlib のグラフ作成と gnuplot との対応 比較
2022/10/14
pythonで配列(リスト)の、ある要素がわかっているときにその次の要素を取得する方法。