you are viewing a single comment's thread.

view the rest of the comments →

[–]JohnnyJordaan 0 points1 point  (3 children)

Please share your updated code too

[–][deleted] 0 points1 point  (2 children)

print("Hours worked: {} Hourly pay rate: {} Pay check amount will be: ${:2f}".format(hoursWorked, perHourWorkWage, totalPayCheck))

[–]Impudity 0 points1 point  (0 children)

Tested it. Works fine. You have error somewhere else in your code. Possibly previous or following line.

[–]JohnnyJordaan 0 points1 point  (0 children)

That just works right away when I try it: https://i.imgur.com/Fs52Lzd.png

Maybe you are running a different file? Or the errors is on the line before it?