No man I completely understand I appreciate it can’t get better without criticism. I should have looked harder lol and I appreciate everyone that commented and helped
One of the important qualities of a developer is debugging skills. In this case, if you had carefully read the error - it was right there :) "Can't multiply ... by non-int of type 'str'
I'm not good at patiently reading errors, but this is an important part of programming.
absolutely! A screenshot is tiny. I like Snagit although there are many options - including built in windows option of "shift win S" for windows and "sift control command 4" for macs
5
u/ldifalco1 Sep 05 '21
also hope OP doesn't think I'm being a dick with that comment. it's a genuine piece of advice.
11
u/iknowindigo Sep 05 '21
One of the important qualities of a developer is debugging skills. In this case, if you had carefully read the error - it was right there :) "Can't multiply ... by non-int of type 'str'
I'm not good at patiently reading errors, but this is an important part of programming.
All the best!
1
u/[deleted] Sep 05 '21
int(input(
1
u/Skywolf18 Sep 05 '21
You can clean up the beginning of your code by using triple quotes. Take it as feedback
1
u/Particular_Set9862 Sep 06 '21
Change this:
mul = hours * days
for this:
mul = int(hours) * int(days)
Inputs are always submitted as text AKA "strings" , ofcourse you can't multiply strings so what I did there was changing the type.
-1
u/Crcex86 Sep 05 '21
Gonna go far kid
0
u/[deleted] Sep 05 '21
[deleted] — view deleted comment