comment

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

関連記事

no image

tex でノットイコールの記号を入力する方法

ノットイコールの記号を書くには、\ne を使う。 例 $x \ne y$ 結果

no image

tex で微分(ダッシュ、プライム)を書く

微分に使うダッシュ(数学では、正式にはプライムと呼ぶことが多い)の tex での書き方。 例 $y’ = x$または$y^{\prime} = x$どちらでも同じ表示になる。 結果 このお …

no image

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

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

no image

tex で和集合を入力する方法

\bigcup を使う。 例 $\displaystyle \bigcup _ {i \in \Lambda} A_i $ 結果

no image

python3 で文字列を区切り文字を指定してリストに変換する方法

split メソッドを使う。 例 str1 = ‘this, is, a, pen’ str2 = str1.split(‘,’) print(str2) 結果 [‘this’, ‘ is’, ‘ a …