LoginSignup
0
0

More than 1 year has passed since last update.

本日の積み上げ#3

Posted at

python学習内容

リストを学習
リストに格納した数字は左から0,1,2と数える。右からは-1,-2というふうにできる。
↓の内容で行くとa=0番目、c=2番目というふうに。

List[a,b,c,d,]

また、

List.append

を使って、リストの中に要素を追加することができる。

len(リスト名) 

でリストの中に要素がいくつあるのかを調べることができる。

0
0
1

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
0