0

Plz help me in Python

Check out this code: Sold_Hovercrafts=int(input()) Profit=(Sold_Hovercrafts *1000000) Overall_Profit=Profit-1000000 a=Overall_Profit If a!=0: print("Profit") else: print("Loss")

10th May 2021, 6:34 AM
I am not a Programmer
I am not a Programmer - avatar
1 Odpowiedź
+ 1
Only problem here is the "If" on line 5. Python operators are case sensitive so it won't recognize what is "If". It has to be "if" (with small letter i)
10th May 2021, 6:41 AM
RRINN
RRINN - avatar