TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
List in Python
Ajay Malik
May 30
2016
Code
574
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Code
print
(
"list in python"
)
list1=[
1
,
2
,
3
,
4
,
5
];
print
(
"3 element is list"
,list1[
2
])
print
(
"1 element in list and 5 element in list is :"
,list1[
0
],list1[
4
])
print
(
"complete list is :"
,list1)
Output
python
List