fork download
  1. var x,y: bool
  2. # 代入文が一つなので、インデントは必要ない
  3. if x: x = false
  4.  
  5. # 入れ子構造のif文にはインデントが必要である
  6. if x:
  7. if y:
  8. y = false
  9. else:
  10. y = true
  11.  
  12. # 条件の後に文が二つ続くため、インデントが必要である。
  13. if x:
  14. x = false
  15. y = false
Success #stdin #stdout 0s 2428KB
stdin
Standard input is empty
stdout
Standard output is empty