728x90
반응형
SMALL
while True:
result = 1
a = float(input())
if a == 0: break
else:
for i in range(1,5): result += a ** i
print("{:.2f}".format(result))
728x90
반응형
LIST
'백준문제 > 브론즈 4' 카테고리의 다른 글
백준) 5300번 - python (0) | 2024.03.27 |
---|---|
백준) 4714번 (0) | 2024.03.26 |
백준) 4589번 - python (1) | 2024.03.24 |
백준) 4562번 - python (0) | 2024.03.23 |
백준) 4470번 - python (0) | 2024.03.22 |