- 921 名前:870 mailto:sage [2018/11/13(火) 11:42:02.89 ID:dBAvKT8b.net]
- >>874
どうも失礼しました。公式ページ見たらやっとわかりました。 https://docs.python.org/ja/3/reference/compound_stmts.html#if if文 https://docs.python.org/ja/3/reference/expressions.html#index-83 条件式 って明確に区別されてるみたいですね。 判別するにはif文の最後に":"があるかないかで判定するのでしょうか?
|
|