human
String to list in Python
assistant
Here is some code to split string 'QH QD JC KD JS' into a list on white spaces

"""QH QD JC KD JS""".split()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.