Create Array Of Class Python Syntax If Statement