can someone find the error here for my school project it might be a stupid mistake as the code used to work a while ago:
https://replit.com/@aabdllhlmhndy2/Gift-helper?v=1
this project is a messy and incomplete sorry
can someone find the error here for my school project it might be a stupid mistake as the code used to work a while ago:
https://replit.com/@aabdllhlmhndy2/Gift-helper?v=1
this project is a messy and incomplete sorry
That error message actually seems to be incorrect. It says it is syntax, but it really should be throwing a different error. Try checking your indentation.
checked my indentation still don’t know my error observed the colon placement and it’s all the same it only sparks and error message on my first colon on the first if condition why?
The arrow shouldn’t be on the colon, not sure why Python is doing that. Not exactly sure we can give you the answer for a question like this, but cCheck indentation on that line specifically.
Edit: Since it’s such a simple question, there’s no harm in giving the answer I think.
I also thought the error was the indentation
but actually I forget to close it
Wow, Python never allows indentation like that.
But it’s good you found your issue!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.