23234번: The World Responds
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,
www.acmicpc.net
문제
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!
풀이
print("The world says hello!")
'Develop > 알고리즘' 카테고리의 다른 글
[백준/Python] Bronze V #24086 身長 (Height) (0) | 2023.08.15 |
---|---|
[백준/Python] Bronze V #4999 아! (0) | 2023.08.15 |
[백준/Python] Bronze II #13458 시험 감독 (0) | 2023.08.15 |
[백준/Python] Bronze II #5622 다이얼 (0) | 2023.08.14 |
[백준/Python] Bronze II #15596 정수 N개의 합 (0) | 2023.08.14 |
Comment