Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (joachim):

how would i be able to split a string for example "123456789" into "1 2 3 4 5 6 7 8 9" and then create a list? How would this work if i had another string of the same length and have to store both in a 2d array (python 3)

OpenStudy (joachim):

ok, got it: " ".join(<string>)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!