Answers for "print itema sin list ptyhon"

4

print specific list item python

lis_t = [1, 4, 5]
print(lis_t[2]) #will print 5
Posted by: Guest on October-13-2020
3

how to print all items in a list python

fruits = ["Apple","Orange","Watermelon","cherry"]
for fruit in fruits:
    print(fruit)
Posted by: Guest on August-04-2021

Python Answers by Framework

Browse Popular Code Answers by Language