Agorithm/백준 알고리즘
백준 알고리즘 4458번 첫 글자를 대문자로(python)
kimjinho1
2021. 3. 8. 00:11
728x90
반응형
단순 문자열 문제이다.
for _ in range(int(input())):
s = list(input())
s[0] = s[0].upper()
print(''.join(s))
728x90
반응형