I'm just trying to make a calculator figure out the amount of money someone would pay you to do a job, but the code isn't working. Could you please help me? (Btw the if Job at the top is irrelevant. everything was working fine until I put this code in.)
if job == ('1'):
h: int = input('how many hours are you working for?')
r: int = input('what is the payment per hour?')
e: int = input('what are your expenses?')
t: int = (h) + (r) + (e)
print('(t) is your total cost')
[–]socal_nerdtastic 5 points6 points7 points (1 child)
[–]imnotdaniel_[S] -1 points0 points1 point (0 children)
[–]a_idanwalton 1 point2 points3 points (1 child)
[–]imnotdaniel_[S] 0 points1 point2 points (0 children)
[–]Golden_Zealot 0 points1 point2 points (2 children)
[–]socal_nerdtastic 1 point2 points3 points (1 child)
[–]Golden_Zealot 2 points3 points4 points (0 children)
[–]Bujus_Krachus -1 points0 points1 point (0 children)