r/codehs • • May 18 '20

Not sure what I’m doing wrong?

Post image
9 Upvotes

5 comments sorted by

3

u/Neecooh May 18 '20

Looks like a comma snuck itself into your code at Line 18

2

u/UsefulCauliflower2 May 18 '20

Now it’s saying I’m missing a “(“ or have an extra )”

2

u/[deleted] May 18 '20

I don't see any missing parentheses but it looks like you are missing a closing bracket for your function.

2

u/Zombieattackr May 19 '20

No that’s it. You missed shift and put a comma rather than a less than, make that mistake whenever I use a keyboard I’m not used to.

1

u/d0RSI May 19 '20

Line 18 has a ,= instead of a <= or >=