-
15552 import sys코테 대비 python/백준 2023. 1. 30. 20:21
https://www.acmicpc.net/problem/15552
import sys input = sys.stdin.readline T=int(input()) for _ in range(T): A,B=map(int,input().split()) print(A+B)
.rstrip() 오른쪽 공백제거, 인자가된 모든 인수 제거
.lstrip() 왼쪽 공백제거, 인자가된 모든 인수 제거
.strip() 왼쪽 공백제거, 인자가된 모든 인수 제거
'코테 대비 python > 백준' 카테고리의 다른 글
11022 f string은 무적이다 (0) 2023.01.30 11021 맨날까먹는 print안에 f사용법 (0) 2023.01.30 25304 합,곱 (1) 2023.01.30 8393 1~n 합 (0) 2023.01.30 10950 함수만들기 (0) 2023.01.30