Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
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
605
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