首页
编程
java
php
前端
首页
编程
java
php
前端
sdut-分段计算居民水费
x=eval(input())
if x<=15:
y=4
x/3
else:
y=2.5
x-17.5
print("{:.2f}".format(y))
点击展开全文