Python: Discount program with if else in For loop

后端 未结 0 618
小蘑菇
小蘑菇 2020-12-09 10:41

I have typed the following code, but the output is different from what I am expecting

n=int(input(\'enter number of items: \'))
for i in range(n):
   cost=int         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题