chaîne python à liste avec séparateur

string = "Hello, world!"
x = string.split(",") # separator here is ","
print(x) # x = ["Hello", " world!"]
Ribou