How To Perform Various Functions Of A Python List
#PYTHON LIST PROGRAMME print('PYTHON LIST PROGRAMME ') x=list() w=input('\n Do you want to Run Programme (yes / no) :- ') while(w=='yes' or w=='YES'): print('\n 1. ADD/APPEND ELEMENT INTO LIST ') print(' 2. DELETE ELEMENTS FROM LIST ') print(' 3. SHOW LIST ELEMENT') print(' 4. QUIT') c=int(input('\n Enter Function Number :- ')) if(c==1): y=input('\n Enter Element :- ') x.append(y) print('\n Data Stored Successfully !') elif(c==2): print(' \nA. DELETE FROM BEGINNING') print(' B. DELETE FROM END') print(' C. DELETE BY POSITION') print(' D. DELETE BY VALUE') print(' E. SHOW LIST') print(' F. EXIT') d=input('\n Enter Function Order :- ') if(d=='A' or d=='a'): x.pop(