Unfortunately, you can’t edit a submitted assignment. However, you might be able to resubmit if the instructor has allowed multiple attempts for the assignment. Please confirm with your professor about the number of attempts allowed for your assignment.
If your professor has allowed only one attempt, you must contact your instructor directly to provide you with another opportunity to submit your assignment by clearing your old attempt.