Swift Create Empty Array In Python Syntax If Then Else