WAP to perform the following operations on a doubly linked list.
1) Create the list
2) Insert an element to it
3) Delete an element from it
4) Reverse the list
5) Display the list
Please fix the following input errors: