본문 바로가기
백준문제/브론즈 4

백준) 4714번

by kiseno 2024. 3. 26.
728x90
반응형
SMALL
while True:
    a = float(input())
    if a < 0: break
    else: print("Objects weighing {:.2f} on Earth will weigh {:.2f} on the moon.".format(a,a*0.167))
728x90
반응형
LIST

'백준문제 > 브론즈 4' 카테고리의 다른 글

백준) 5524번 - python  (0) 2024.03.28
백준) 5300번 - python  (0) 2024.03.27
백준) 4695번 - python  (0) 2024.03.25
백준) 4589번 - python  (1) 2024.03.24
백준) 4562번 - python  (0) 2024.03.23