185k views
1 vote
Can someone please tell me what I’m doing wrong ? Please and it’s due on Thursday!!

Can someone please tell me what I’m doing wrong ? Please and it’s due on Thursday-example-1
Can someone please tell me what I’m doing wrong ? Please and it’s due on Thursday-example-1
Can someone please tell me what I’m doing wrong ? Please and it’s due on Thursday-example-2
User Lukad
by
5.8k points

1 Answer

13 votes

Answer:

Sure. In Unit test 5, it's looking for 1 instead of 0. You are returning 0 instead of 1.

0 requires 1 digit to express it and should therefore return 1.

In line 6, change the 0 to a 1.

User Lan
by
5.5k points