Title |
User |
Message |
Date Posted |
Re: Why is my code incorrect? |
magicalsoup |
Change print(round(pay, 2)) to print("%.2f" %(round(pay, 2))), because as in the sample, you are to output 2 decimal places, were if the answer was 4.0, you only outputted 4.0, not 4.00. |
Aug 19, 2019 - 3:35:06 pm UTC |
Why is my code incorrect? |
Axiumin |
I've checked my code, and it works with the first input (as found with ss3happy1). What should I do to fix it? |
Aug 17, 2019 - 5:42:49 pm UTC |
Re: Can I get some help? |
magicalsoup |
@Waffles, I want to say that you have been way too active in the comments section, please give some time and try to solve the problem yourself, if you can't, give it some time, then try again, conside... |
Feb 27, 2019 - 7:34:33 pm UTC |
Can I get some help? |
Waffles |
For some reason, I keep getting 0/10 even though the code works fine in my ide. Help? |
Feb 26, 2019 - 9:30:37 pm UTC |
Re: lol |
magicalsoup |
do not |
Feb 17, 2018 - 12:51:45 am UTC |
lol |
magicalsoup |
peter, you cant hard code this, lol (but please, on a serious sidenote, please to not hard code, it doesn't help you in any way |
Feb 17, 2018 - 12:50:01 am UTC |
Re: Not Working? |
jargon |
I doubt it works on your machine... NameError: name 'b' is not defined |
Sep 29, 2016 - 4:43:14 am UTC |
Not Working? |
Chinadoll |
I ran my code on my computer and it works perfectly, yet when I submit I get 0 marks? |
Sep 27, 2016 - 6:32:42 pm UTC |
Re: Can Someone Help Me Out? |
jargon |
The only possible marks from this problem are 0/10, if any case is wrong, and 10/10, if all cases are right. |
Apr 27, 2015 - 12:21:58 am UTC |
Re: Can Someone Help Me Out? |
ss3happy1 |
Thanks for the reply Jargon! I was just wondering if you could take a look at my submission and see why I get 0/10. I would figure I would at least get 1/10 for getting the first output right then. |
Apr 26, 2015 - 11:05:31 pm UTC |