Pythonのお勉強 Part30
at TECH
162:デフォルトの名無しさん
08/11/24 20:27:12
>>160
URLリンク(www.python.org)
> If the target is a target list enclosed in parentheses or in square brackets:
> The object must be a sequence with the same number of items as there are targets
> in the target list, and its items are assigned, from left to right, to the
> corresponding targets.
左から右の順で代入するとあるので公式に規定された動作といえそう。
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5092日前に更新/206 KB
担当:undef