comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

〜に向いている を英語で言う方法

〜に向いている lend itself to … (何かに)向いている、適している または be suitable for … という言い方がある。

no image

matplotlib で、2種類のデータをプロットする方法

下では、凡例(legend)を設定している。 例 from matplotlib import pyplot as plt data_x = [25,26,27] data_y = [ …

no image

tex で、集合の元でないことを表現する方法

\not \in を使う。 例 x \not \in A 結果

no image

python3 で辞書(dict) の for ループでキーと値を取得する

キーと値を取得するには次のようにする。キーは dict のループ、値は dict の values() のループで取得できる。 例 mydictionary = {‘color’: ‘白’, ‘ani …

no image

python3 で数字をゼロ埋めして表示する

string の、zfill を使う。 例 n = 3 n0 = str(n).zfill(10) print(n0) 結果 0000000003