Store your full name in a string and convert it into a list.

Store your full name into a string variable and then convert it into a list using the split method of the string.

# storing name value in string
my_name = 'Jane Doe'
#convert the string into list taking space value as separator
name_list = my_name.split(' ')
#split method will separate them into different string elements
print(name_list)
# let's see the type of name list
print(type(name_list))