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