LENGTH AND TYPE PYTHON PROGRAMMING
x = ["apple","orange","banana","kiwi","grapes"]
print(len(x))
print(type(x))
y = [12,"ramya",32.5,"bala",66,100,12,"ramya",66]
print(len(y))
print(type(y))
z = list(("pen","book",100,0.98,"eraser"))
print(z)
print(len(z))
print(type(z))
OUTPUT:
5
<class 'list'>
9
<class 'list'>
['pen', 'book', 100, 0.98, 'eraser']
5
<class 'list'>