#10. Create a list num=[23,12,5,9,65,44]

#a) print the length of the list.

#b) print the elements from the second to fourth position using positive indexing.

#c) print the elements from position third to fifth using negative indexing.

num=[23,12,5,9,65,44]
print("a:-")
print(f"length of the list is {len(num)}")
print("b:-")
for a in range(1,4):
    print(num[a])
print("c:-")
for a in range(2,5):
    a = -1*a
    print(num[a])