백준

[백준] 2588번 : 곱셈 (Python) - 단계별로 풀어보기

by 윤 2023. 3. 22. 01:47
728x90

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')