hrs = float(input('Enter Hours:')) rate = float(input ('Enter Rate:')) h = float(hrs) - 40 r = float (rate) * 1.5 def computepay(h,r): retun ((h*r) if hrs <= 40: print (hrs * rate) else : print(computepay)
if else with comparison >= does not work
if else with comparison >= does not work
|
|
Messages In This Thread |
if else with comparison >= does not work - by angelina7382 - Feb-28-2018, 07:20 PM
RE: if else with comparison >= does not work - by Robo_Pi - Feb-28-2018, 07:49 PM
RE: if else with comparison >= does not work - by buran - Feb-28-2018, 08:33 PM
RE: if else with comparison >= does not work - by angelina7382 - Mar-02-2018, 06:18 PM
RE: if else with comparison >= does not work - by mpd - Mar-02-2018, 06:34 PM
RE: if else with comparison >= does not work - by JustaNoOb - Mar-02-2018, 09:11 PM
RE: if else with comparison >= does not work - by angelina7382 - Mar-06-2018, 09:32 PM
RE: if else with comparison >= does not work - by nilamo - Mar-06-2018, 09:58 PM
|
Users browsing this thread: 3 Guest(s)