본문 바로가기
공부/코딩테스트

백준: 23234번 The World Responds(Python3)

by 혼밥맨 2022. 7. 31.
반응형

백준: 23234번 The World Responds(Python3)

The World Responds 성공다국어

 
시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB 2405 2239 2157 93.135%

문제

In many introductory computer programming classes, the first program that students learn to write just prints “Hello, world!” It is used as a first assignment because it is a simple program that produces output. The program dates back to at least 1974, when Brian Kernighan used it as an example in a C programming tutorial. Its popularity has grown since then. Louisiana Tech University's ACM chapter has a Hello World project that has collected versions of this program in almost 200 different computer languages.

While “Hello, World!” is a nice and simple first program, it does have one drawback. The program says hello to the world, but the world does not respond! This one-sided conversation is starting to become awkward after more than 35 years. For this problem, write a program that returns greetings from the world to the program.

입력

There is no input for this problem.

출력

Print one line of output: The world says hello!

예제 입력 1

예제 출력 1

The world says hello!

답안

1
print("The world says hello!")
cs

반응형

댓글