C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
List in Python
WhatsApp
Ajay Malik
May 30
2016
619
0
0
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
Up Next
List in Python