comment

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

関連記事

no image

python3 で、dictionary のキー一覧を取得する方法

dict.keys() でキーを取得することができる。 参考:dictionary の値一覧を取得するときは、dict.values() を使う。 例 print(dict.keys())

no image

tex で大括弧を表示する

大括弧を表示するには、\left[ または \right] を使う。 例 $\left[ \left( \frac{x}{y} \right) \right]$ 結果 片方だけの大括弧 片方だけのカッ …

no image

加速度 m/s^2 の読み方

加速度 ${\rm m/s^2}$ は、「メートル毎秒毎秒」と読む。 翻訳 英語 meters per second per second または metre per second squared 中 …

no image

gnuplot で、グラフの境界の一部を非表示にする方法

次のページで書いてあることを参考にする。 http://gnuplot.sourceforge.net/docs_4.2/node162.html bottom=1, left=2, top=4, r …

no image

python3 で、文字列の最後が特定の文字で終わるか判定する方法

endswith を使う。 例 str1 = “こんにちは” result1 = str1.endswith(“は”) result2 = str1.endswith(“わ”) print(resul …