Page not loading? Try clicking here.
Placeholder

#9382
Language restricted

문자열 - 연습문제 3 1s 32MB

Problems

문자열 A를 "apple orange banana" 로 초기화하고 단어를 공백으로 구분하여 뒤집어서 마지막 단어부터 출력하고 문자열 B를 "   Hello world!   "로 초기화하여 출력한 후 앞뒤 공백을 제거한 후 다시 출력하는 프로그램을 작성하시오.


Example

banana orange apple
Hello world!
Hello world!

Source

자기주도 파이썬 4판

You must sign in to write code.