For Loop With Array Python Example Class