0
Have been having issues using my code coach, just started today and I have been having errors even when the final output matches
6 Respostas
+ 2
It might have some problem in the logic, the maths, the syntax or something else. But the link in the question description doesn't appear for me, so I can't see what's wrong.
+ 2
Daniel Clinton This is how you can make all relevant info available:
1. Edit your question description
2. Click the "+" button
3. Select "Code"
4. Choose the relevant code bit
5. Explain the task
6. Paste the exact error message
This makes it possible for us to see the exact code and results.
That said, review:
1. The operator in the "if" statement
2. The spelling in the "print" calls
+ 1
Choose one, link the code from Code Playground in the question description and explain the problem
0
The code coach challenge, I began from the popsicles to other easier ones and I kept having errors...in output
0
My Output matched, although my code pattern varied at times
0
siblings = int(input(3))
popsicles = int(input(9))
if popsicles//siblings == 0:
print("give away")
else:
print("eat them yourself")
Don't seem to be able to copy the link...but I copied the code for the POPSICLES in tried in the code coach