beginner_list = []
input_string = input("Enter a list elements separated by space ")

beginner_list = input_string.split()

for elements in beginner_list:
    print(elements)

#resources: https://pynative.com/python-accept-list-input-from-user/