0
Please tell what's wrong with this code for *Hovercraft* challenge.
a=2000000 c=10 d=1000000 e=3000000 b=int(input('enter your sales')) if a*c+d>e*b: print('Loss') elif a*c+d<e*b: print("Profit") else: print('Broke even')
8 odpowiedzi
+ 6
Its working fine for me.
+ 6
👍👍
+ 5
Remove 'enter your sales' as it shows in the output too.
'Broke even'
^
Broke Even
+ 4
b = int(input())
+ 2
Thanks
Now I saw it was also expecting even to start with a capital letter. Rest all was fine.
0
Then how do I accept input from user?
0
It's not working here, but on PC it's fine