No, you cannot remove a submission after it has been uploaded to Gradescope.
However, you can try the following things if you've already uploaded a file:
- Reach out to your instructor and ask them to delete a submission for you.
- Resubmit to your assignment before the due date, and it will override your previous submission. For a programming assignment, note that if your instructor has set a limit on the number of submissions allowed, you cannot resubmit past that limit.