variable="Hello, my name, is, ect," #The seperate varibles# #what we are splitting the variable with# a, b, c, d = variable.split(",") print(f"{a} \n {b} \n{c} \n{d}") #our output would be: ''' Hello my name is ect '''