python-algorithm
[백준] 6763
무적김두칠
2021. 3. 3. 14:36
1
2
3
4
5
6
7
8
|
a=int(input())
b=int(input())
over=b-a
if over >=31:print("You are speeding and your fine is $500.")
elif over>20:print("You are speeding and your fine is $270.")
elif over>0:print("You are speeding and your fine is $100.")
else:print("Congratulations, you are within the speed limit!")
|
cs |
반응형