1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Python学習

Last updated at Posted at 2020-01-20

Pythonの基礎・応用

リスト型・辞書型

  • 五十音を一文字ずつリスト型へ展開してみよう
"""
あいうえお
かきくけこ
さしすせそ
たちつてと
なにぬねの
はひふへほ
まみむめも
や ゆ よ
らりるれろ
わ   を
ん
"""
list = ['','','','',''...]
  • 五十音を'あ'からインデックスで引き当てられるように辞書型を作成してみよう
list = ['','','','',''...]
dict = {1:'',2:'',3:'',4:'',5:''}
  • 五十音からインデックスを引き当てられるように辞書型を作成してみよう
list = ['','','','',''...]
dict = {'':1,'':2,'':3,'':4,'':5}

※社内学習向けに記載した記事を全体公開

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?