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

백준) 21633번 - python

by kiseno 2024. 4. 26.
728x90
반응형
SMALL
a = int(input())
print("{:.2f}".format(25 + a * 0.01) if 100 < 25 + a * 0.01 <2000.00 else
      "{:.2f}".format(2000.00) if 100 < 25 + a * 0.01 >= 2000.00 else
      "{:.2f}".format(100.00))
728x90
반응형
LIST

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

백준) 24723번 - python  (0) 2024.04.28
백준) 19944번 - python  (0) 2024.04.27
백준) 15873번 - python  (0) 2024.04.25
백준) 16486번 - python  (0) 2024.04.24
백준) 15726번 - python  (0) 2024.04.23