Page not loading? Try clicking here.
Placeholder

#787
Language restricted

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

Problems

원소 6개짜리 리스트를 입력받아 생성한 후, 홀수 번째 원소가 앞으로 오고 짝수 번째 원소가 뒤로 오도록 리스트를 재구성하여 출력하는 프로그램을 작성하시오.


Example

Element? Seoul

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

Source

자기주도 파이썬

You must sign in to write code.