Hovercraft Test | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hovercraft Test

Python Beginner. Anybody handled this already, please I need help. Tried using the comparison operators bt it says there is invalid syntax.

24th Dec 2021, 8:46 PM
Raymond Kalama
6 Answers
+ 3
Raymond Kalama isn't it "Broke Even" instead of "Break Even"?
26th Dec 2021, 2:22 AM
Rishi
Rishi - avatar
+ 1
PyNon "Broke Even", to be exact
26th Dec 2021, 4:42 AM
Rishi
Rishi - avatar
0
Raymond Kalama Can you pozt your attempt so we may assist
24th Dec 2021, 9:50 PM
Rik Wittkopp
Rik Wittkopp - avatar
0
This was my code write up there. Bt I have seen your code. Let me get it right. Thank you PyNon
25th Dec 2021, 9:07 AM
Raymond Kalama
0
Thank you man. Am seeing some light now😂😂
25th Dec 2021, 9:10 AM
Raymond Kalama
0
customers = int(input()) cost = 2,000,000 + 1,000,000 revenue = 3,000,000 * customers if cost == revenue: ("Break Even") elif cost > revenue : ("Loss") else : print("Profit") It just won't though. Think I might have to skip this one?
25th Dec 2021, 8:23 PM
Raymond Kalama