islower() 関数を使う。
例
print('abcde'.islower())
print('abcDe'.islower())
結果
True
False
雑記
投稿日:
islower() 関数を使う。
print('abcde'.islower())
print('abcDe'.islower())
True
False
執筆者:seyanen
関連記事
「marker」で指定すればよい。 次のページを参考に、plotの「marker」を変更する。 https://matplotlib.org/stable/api/markers_api.html 例 …
matplotlib で2種類のcsvファイルをプロットする方法
data1.csv と、data2.csv の2つのファイルを散布図としてプロットするには次のようにする。 例 import numpy as np from matplotlib import py …
文字に tex の記法を使って数式を入力することもできる。 例 import numpy as np from matplotlib import pyplot as plt x = np.linsp …
2023/01/18
matplotlib のグラフ作成と gnuplot との対応 比較
2022/10/14
pythonで配列(リスト)の、ある要素がわかっているときにその次の要素を取得する方法。