📌  相关文章
📜  问题 TypeError: can't multiply sequence by non-int of type str - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:18.407000             🧑  作者: Mango

代码示例1
tax_percentage = 5
fare_price = input("Please enter the fare amount charged  ")
distance = input("Please enter the distance travelled to calculate the total fare -  ")
total_fare = (fare_price * distance) * (5/100)
print(total_fare)
# visit site for solution