https://www.acmicpc.net/problem/23234
문제
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!
# 'The world says hello!' 를 출력하라
print('The world says hello!')
'Problem Solving > BOJ' 카테고리의 다른 글
[백준, BOJ 2751] 수 정렬하기 2 (python) (0) | 2021.12.03 |
---|---|
[백준, BOJ 2609] 최대공약수와 최소공배수 (python) (0) | 2021.12.02 |
[백준, BOJ 2164] 카드2 (python) (0) | 2021.12.01 |
[백준, BOJ 2108] 통계학 (python) (0) | 2021.11.29 |
[백준, BOJ 22193] Multiply (python) (0) | 2021.11.29 |