Introduction
Software Required
Python 2.7.11
Programming
- names=['karthiga','c#corner','MVP','Monthly Winner','Author'];
- print(names);
- print(names[1]);
- del names[0];
- print(names);
Explanation
- names=['karthiga','c#corner','MVP','Monthly Winner','Author'];
- print(names);
- print(names[1]);
Output
Figure 1:Output
Delete Name in the String:

- del names[0];
- print(names);
Output


Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Anu VPosted Jul 8, 2016, 1:23 AM
Nice