sold_yesterday = float(input("sold yesterday = ")) sold_today = float(input("sold today = ")) sales_trend = int if sold_yesterday > sold_today: sales_trend = -1 else: sales_trend = 1 print("sales trend: {}".format(sales_trend))
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment