Explore
Courses
Batches
Sketches
Statistics
Code a Pookkalam
Jobs
Devsprint
People
Course Creation
Create a Course
Guidelines
Resources
Support
Blogs
My Profile
About Us
Login
Sketches
0
List
By
Fahad
Run
f=["apple","orange","mango","banana\n"] #printing first and last fruits from the list print(f[0],f[-1]) count=len(f) #printing the no. of fruits print ("there are",count,"fruits in the list") num=[2,3,7,5,9,12] #printing the sum of all nums print (sum(num))
Comments
Want to discuss?
Post it here, our mentors will help you out.
Login