Delete the specified element from the list.
List: [3, 4, 8, 5, 9], Element = 8
The new list after deleting the specified element 8 is: [3, 4, 5, 9]
Complete the following task based on the instruction and optional input provided.### Instruction:
Delete the specified element from the list.

### Input:
List: [3, 4, 8, 5, 9], Element = 8

### Output:
The new list after deleting the specified element 8 is: [3, 4, 5, 9]