Flowchart (ISO 5807)
Source code
Python
def is_leap(y):
if y % 4 == 0 and (y % 100 != 0 or y % 400 == 0):
return True
return FalseThe editor opens with this code — change it and the chart redraws.
- Language
- Python
- Constructs
- compound condition
- Topic
- Branching
- Formats
- Word, Visio, draw.io, PDF, SVG