Interface Array In Python Syntax If Else Statement