0
2

More than 3 years have passed since last update.

僕のstr(Pytnon)

Last updated at Posted at 2019-12-16

自分用のまとめ
随時更新
自分がわかればいいからところどころ用語が間違ってるかも

!見方

#コマンド
    #引数のオプションの説明

モジュール読み込み

無し

頻出操作

#全て大文字に変換
str.upper()

#埋め込み表示
line = "{0}さんの身長は{1}cmです。{0}さんの体重は{2}kgです。".format("山田", 190, 105.3)
#山田さんの身長は190cmです。山田さんの体重は105.3kgです。
#{インデックス番号:書式指定}

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2