Friday, March 31, 2023

LENGTH AND TYPE PYTHON PROGRAMMING

                                     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'>



























USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...