Python Get Index Of Item In Array Literal Swift