Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Incognito
- writeup
- Digital Forensics
- Python
- MySQL
- 정렬
- 백준
- 수학
- Forensics
- C
- xcz.kr
- 사칙연산
- 써니나타스
- 구현
- wargame
- Network
- Web
- misc
- 문자열
- CTF
- HackCTF
- 그리디 알고리즘
- Web Hacking
- Database
- Text
- SuNiNaTas
- N0Named
- php
- cryptography
- 인코그니토
Archives
- Today
- Total
보안을 그리다, 훈이
[Baekjoon/Python3] 4458번 첫 글자를 대문자로 본문
[Baekjoon/Python3] 4458번 첫 글자를 대문자로
4458번: 첫 글자를 대문자로
첫째 줄에 줄의 수 N이 주어진다. 다음 N개의 줄에는 문장이 주어진다. 각 문장에 들어있는 글자의 수는 30을 넘지 않는다. 모든 줄의 첫 번째 글자는 알파벳이다.
www.acmicpc.net
t = int(input()) # //upper// title : front of words, capitalize : front of one word.
for i in range(t):
string = input()
string = string[0].upper() + string[1:]
print(string)
'Programming > Python & Data Structures' 카테고리의 다른 글
[Baekjoon/Python3] 4504번 배수 찾기 (0) | 2020.12.04 |
---|---|
[Baekjoon/Python3] 4470번 줄번호 (0) | 2020.12.04 |
[Baekjoon/Python3] 4344번 평균은 넘겠지 (0) | 2020.12.04 |
[Baekjoon/Python3] 4153번 직각삼각형 (0) | 2020.12.04 |
[Baekjoon/Python3] 4101번 크냐? (0) | 2020.12.04 |
Comments