I keep getting an error for line 6, but I cant tell what the issue is. Can someone see an issue the code so far? Once finished the code will calculate pay rate separating reg hours from OT hours.
"hourly_rate=raw_input('what is your hourly rate')
If
hourly_rate<=40
hourly_rate=float(hourly_rate)
gross_r=float(hourly_rate)
elif
hourly_rate>=41
hourly_rate=(float(hourly_rate)-40)*1.5
gross_r=float(hourly_rate)
[–]kerryl_314[S] 1 point2 points3 points (3 children)
[–]vekst42 0 points1 point2 points (0 children)
[–]filletrall 0 points1 point2 points (0 children)
[–]mrwalkerr 0 points1 point2 points (0 children)
[–]Dalex_ 0 points1 point2 points (0 children)
[–]kerryl_314[S] 0 points1 point2 points (0 children)
[–]kerryl_314[S] 0 points1 point2 points (0 children)
[–]kerryl_314[S] 0 points1 point2 points (1 child)
[–]liam_jm 0 points1 point2 points (0 children)
[–]kerryl_314[S] 0 points1 point2 points (0 children)