Python-The Zen of Python-3 投稿:2019年04月02日 6:Sparse is better than dense. ◎密集しているよりは隙間があるほうがいい。 例 if i>0: return sqrt(i) elif i==0: return 0 else: return […]
Python-The Zen of Python-2 投稿:2019年04月02日 3:Simple is better than complex. ◎複雑であるよりは平易であるほうがいい。 4:Complex is better than complicated. ◎それでも、込み入っているよりは複雑 […]
Python-The Zen of Python-1 投稿:2019年04月02日 日本語解説ページ https://qiita.com/IshitaTakeshi/items/e4145921c8dbf7ba57ef 1:Beautiful is better than ugly. ◎醜いより美しいほ […]
Python-知識を一つに-5 投稿:2019年04月02日 相対パスと絶対パス デレクトリー(オルダー)現在のパスは,pwdコマンドを使う。現在のパス は作業デェレクトリー(working directory)と呼びprint-WDでpdwになる 絶対パスはルートからたどった名前 […]
Python-知識を一つに-4 投稿:2019年03月31日 変更後の「戦争」のコード from random import shuffle class Card: suits = ["spades", "hearts", "diamonds", "clubs"] values = […]