 Remember to use <a>**`Read-Search-Ask`**</a> if you get stuck. Try to pair program  and write your own code 
* The if statement checks if the collection contains the element.
* If the if statement evaluates to true, then starting from the index at which the element is located, one element is deleted.
* If the if statement evaluates to false, then nothing occurs.
##  NOTES FOR CONTRIBUTIONS:
 **DO NOT** add solutions that are similar to any existing solutions. If you think it is **_similar but better_**, then try to merge (or replace) the existing similar solution.
Add an explanation of your solution.
Categorize the solution in one of the following categories — **Basic**, **Intermediate** and **Advanced**. 