[Tutor] Help on Python
Tyson Barber
tysonwbarber at gmail.com
Mon Oct 14 20:07:29 EDT 2019
Hello Tutor,
I am new to Python and had a question.
incomevar = (input("Please enter the income: ")
income = int(incomevar)
costvar = int(input("Please enter the cost: ")
cost = int(costvar)
if income >= cost :
print (income - cost == profit)
else income < cost :
print (cost - income == loss)
I have tried many things for this to work, including changing the variable
names, spacing issues. Nothing seems to work and I am quite confused. I
honestly don't even know if this is the right email address to send this to.
Thank you,
Tyson Barber
More information about the Tutor
mailing list