| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67145 | 胡海峰老师 | 短信计费 | Python3 | Compile Error | 0 MS | 0 KB | 271 | 2024-03-14 18:57:03 |
def cost(ws): #输入数字数量,输出它对应费用 a = ws//70 * 0.1 if ws%70>0: a = a + 0.1 return a n = int(input()) res = 0 words = int(input()) res += cost( words ) #函数调用 res = "{:.1f}".format(res) print(res)
Sorry: TabError: inconsistent use of tabs and spaces in indentation (Main.py, line 3)