comment

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

関連記事

no image

マッキンリー山の場所

マッキンリー山(McKinley)は、北アメリカ大陸で最も高い山です。 米国アラスカ州にあります。 改名 マッキンリーは2015年、デナリ(Denali)に改称されました。 デナリとは、アラスカの先住 …

no image

tex で表に空欄をつける方法

区切りの & だけを入力すると、表に空欄を作ることができる。 例 \begin{table} \begin{tabular}{ |c|c|c|c| } \hline 1 & & …

no image

matplotlib でグラフの背景の色を変える方法(facecolor)

次のように、axes で facecolor を変更すればよい。 例 from matplotlib import pyplot as plt x = [2,7,8] y = [7,1 …

no image

PHPで文字を入れ替える方法

文字を入れ替えるには、strtr を使う。 例 $string = “あいうえお” ; $string1 = “あえ”; $string2 = “かけ”; // 入れ替える echo strtr($s …

no image

python3 で、すべて小文字かどうかを判定する方法

islower() 関数を使う。 例 print(‘abcde’.islower()) print(‘abcDe’.islower()) 結果 True False