how to read a list in python and check it code example
Example 1: get list number python
my_list = [1,"hello world", 16.2]
len(my_list)
3
Example 2: reading a list in python
strings = list(map(str,input().split()))
numbers = list(map(int, input().split()))