0
How to solve hovercraft practice?
i am trying to solve counting profit of hovercarfts. But i dont know where i am doing mistake😥. The problem is almost solve but not the condition 3,4. Here is my code👇 #solotion for hovercraft code sold = int(input()) craft = 10 cost = 2000000 insure = 1000000 selling = 3000000 ''' mc is stand for monthley cost while ms is stand for monthley sele ''' mc = cost * craft + insure ms = sold * selling if mc < ms: print ("Profit") elif mc > ms: print ("Loss") else: print ("Broke Even") Update the practice is compleat😃 now update the code. Thanks for guiding
3 Respostas
+ 6
Pay close attention to what you are meant to output/print.
For example: is it "Lose" or "Loss" or "Lost"?
+ 4
Well done!
Happy coding!
+ 1
It was "Loss" 😆 thanks now its solve👍