Hi I'm pretty new at programming and I'm trying to split a string:
'QH QD JC KD JS'
into a list like:
['QH', 'QD', 'JC', 'KD', 'JS']
I have tried splitting but it didn't seem to work. How would I go about doing this?
Thanks
Hi I'm pretty new at programming and I'm trying to split a string:
'QH QD JC KD JS'
into a list like:
['QH', 'QD', 'JC', 'KD', 'JS']
I have tried splitting but it didn't seem to work. How would I go about doing this?
Thanks
I'm trying to split a string:
'QH QD JC KD JS'
into a list like:
['QH', 'QD', 'JC', 'KD', 'JS']
How would I go about doing this?
lang-py