[백준] 11382번 : 꼬마 정민 (Python) - 단계별로 풀어보기 Python3 코드 A,B,C = map(int, input().split()) print(A+B+C) 백준 2023.03.22
[백준] 2588번 : 곱셈 (Python) - 단계별로 풀어보기 Python3 코드 f = int(input())#first s = input()#second f2=f*int(s[2]) f1=f*int(s[1]) f0=f*int(s[0]) fxs=f*int(s) print(f2,f1,f0,fxs,sep='\n') 백준 2023.03.22
[백준] 10430번 : 나머지 (Python) - 단계별로 풀어보기 Python3 코드 A,B,C = input().split() a = int(A) b = int(B) c = int(C) print((a+b)%c) print(((a%c)+(b%c))%c) print((a*b)%c) print(((a%c)*(b%c))%c) 백준 2023.03.22
[백준] 18108번 : 1998년생인 내가 태국에서는 2541년생?! (Python) - 단계별로 풀어보기 Python3 코드 b = int(input()) #불기입력 c = b - 543 #서기연도=불기연도-543(예제확인 중요) print(int(c)) #서기출력 백준 2023.03.22
[백준] 10869번 : 사칙연산 (Python) - 단계별로 풀어보기 Python3 코드 a, b = input().split() a = int(a) b = int(b) print(a+b) print(a-b) print(a*b) print(int(a/b)) #예제를 보면 실수가 아닌 자연수로 딱 나눠떨어짐. print(a%b) 백준 2023.03.22
[백준] 1008번 : A/B (Python) - 단계별로 풀어보기 Python3 코드 A, B = input().split() print(int(A)/int(B)) 백준 2023.03.22
[백준] 10998번 : A×B (Python) - 단계별로 풀어보기 Python3 코드 A, B = input().split() print(int(A)*int(B)) 백준 2023.03.22
[백준] 1001번 : A-B (Python) - 단계별로 풀어보기 Python3 코드 A, B = input().split() print(int(A)-int(B)) 백준 2023.03.22
[백준] 1000번 : A+B (Python) - 단계별로 풀어보기 Python3 코드 A, B = input().split() print(int(A)+int(B)) 백준 2023.03.22