言語リファレンス
if/elif/else
if文の繰り返しはelifを使い、すべての条件に当てはまらない場合にelseを使う。
if ((i == "'") and (quote == 0)): quote = 1; j = i elif ((i == "'") and (quote == 1)): quote = 0; j = i else: j = i
Since 2023/09/17
if文の繰り返しはelifを使い、すべての条件に当てはまらない場合にelseを使う。
if ((i == "'") and (quote == 0)): quote = 1; j = i elif ((i == "'") and (quote == 1)): quote = 0; j = i else: j = i