You can round() your return - float to 2 digits, no need to make it a string. def token(t): running_cost = [] total_cost = 0 for y in t: ...
確定! 回上一頁