Create Nested Array Python Example Elif