Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stuck - need help
#4
It's basically the same error. You need to use fregular_rate for your math calculations, it's the variable associated with a number. Note that 'x' * 4 is valid code, but it returns 'xxxx'. So using regular_rate instead of fregular_rate on line 12 is making regular_pay a string.

This is the problem with having fregular_rate. You keep confusing it with regular_rate. You don't need the string, so just convert it and keep the same name.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Stuck - need help - by IvyMae - Sep-01-2019, 06:42 PM
RE: Stuck - need help - by ndc85430 - Sep-01-2019, 06:44 PM
RE: Stuck - need help - by IvyMae - Sep-01-2019, 06:51 PM
RE: Stuck - need help - by ichabod801 - Sep-01-2019, 06:57 PM
RE: Stuck - need help - by IvyMae - Sep-01-2019, 07:01 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020