ユーザ用ツール

サイト用ツール


pythonのリスト_とタプル

Pythonのリスト[]とタプル()

リストとは、複数の値を「,」で区切って順番に並べて、[] で囲ったもの。中身が変更できる配列です。

タプルとは、複数の値を「,」で区切って順番に並べて、() で囲ったもの。中身が変更できない配列です。

あまり面白くないのですが、避けて通れない話なので、やります。

開発環境

Windows8.1

Python 3.5

Anaconda 4.4.0 (64-bit)

Chainer 2.0

OpenCV3

見出し

(作成中)

http://twosquirrel.mints.ne.jp/?p=20084

をご覧ください。

参考文献

以下の本の「第4章 リスト」が非常におすすめです。

<html>
<iframe style=“width:120px;height:240px;” marginwidth=“0” marginheight=“0” scrolling=“no” frameborder=“0” src=“rcm-fe.amazon-adsystem.com/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=twosquirrel-22&o=9&p=8&l=as4&m=amazon&f=ifr&ref=as_ss_li_til&asins=487311778X&linkId=b0aa9a6fbf49cbc9e5220b8f6c3f3f03”></iframe>
</html>

Python基礎講座(5 リスト・タプル)

Usek

2016年03月31日に更新

https://qiita.com/Usek/items/65a3df2be7bd0a2b4189


Python入門 - リスト・タプル・辞書

http://www.tohoho-web.com/python/list.html

===== リンク =====

pythonのリスト_とタプル.txt · 最終更新: 2018/10/07 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki