일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
- php 프로그래밍 입문 솔루션
- php
- 자바
- JAVA SPRING
- C
- php 프로그래밍 입문 3판
- 플러터 개발환경 설정
- php 프로그래밍 입문 문제풀이
- 페이코 친구코드
- 페이코 초대코드
- C언어
- 배열
- 파이썬
- 스프링
- 최단 경로
- Flutter
- programmers
- 한정 분기
- 페이코 추천인코드
- 플러터
- php 프로그래밍 입문 예제
- 자바 스프링
- Java
- 백준
- php 프로그래밍
- php 프로그래밍 입문 연습문제
- spring
- SWEA
- 페이코 추천인
- php 프로그래밍 입문
- Today
- Total
ImJay
[파이썬/Python] 백준 23234번 The World Responds 본문
[파이썬/Python] 백준 23234번 The World Responds
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!
입력은 없고, The world says hello! 을 출력한다.코드
print("The world says hello!")
풀이
1. The world says hello! 을 출력한다.
print("The world says hello!")
'Solved.ac - Python > Bronze V' 카테고리의 다른 글
[파이썬/Python] 백준 24078번 余り (Remainder) (0) | 2022.11.30 |
---|---|
[파이썬/Python] 백준 23235번 The Fastest Sorting Algorithm In The World (1) | 2022.11.29 |
[파이썬/Python] 백준 22193번 Multiply (0) | 2022.11.29 |
[파이썬/Python] 백준 21598번 SciComLove (0) | 2022.11.29 |
[파이썬/Python] 백준 21300번 Bottle Return (0) | 2022.11.28 |