¿La página no carga? Prueba haciendo clic aquí.
Placeholder

#787
Idioma restringido

리스트 1 - 자가진단 6-2 1s 16MB

Problemas

원소 6개짜리 리스트를 입력받아 생성한다.
홀수 번째 원소가 앞으로 오고, 짝수 번째 원소가 뒤로 오도록 리스트를 재구성하여 출력한다.​


Ejemplo

Element? Seoul

Element? New York City
Element? Tokyo
Element? Beijing
Element? London
Element? Paris
['Seoul', 'Tokyo', 'London', 'New York City', 'Beijing', 'Paris']

"Element?" 은 input() 의 프롬프트


Fuente

자기주도 파이썬

Debes iniciar sesión para escribir código.