단계별로 풀어보기-python (1 단계)


단계별로 풀어보기-python (1 단계)

1000번 간단한 합을 구하는 문제이다. map을 이용해 A와 B를 int로 입력받아서 합을 출력한다. A,B = map(int,input().split()) print(A+B) 1001 간단한 차를 구하는 문제이다. A,B = map(int,input().split()) print(A-B) 1008번 간단한 나눗셈을 구하는 문제이다. A,B = map(int,input().split()) print(A/B) 2588 곱셈의 과정을 출력하는 문제이다. 문자열로 입력을 받아 일의 자리부터 하나씩 곱셈을 시작하고 마지막에 두 수의 곱을 출력한다. A = input() B = input() print(int(A) * int(B[2])) print(int(A) * int(B[1])) print(int(A) * int(B[0])) print(int(A)*int(B)) 10171번 주어진 모양을 나타내는 문제이다. escape sequence를 활용하여 나타내면 된다. print('\\ /\\...



원문링크 : 단계별로 풀어보기-python (1 단계)