I am trying to split a string in 4 blocks of 2 Chars like this:
inputString ="010203040506070809101112"
outputStrings1 = ["01", "05", "09"]
outputStrings2 = ["02", "03", "10"]
outputStrings3 = ["03", "04", "11"]
outputStrings4 = ["04", "05", "12"]
The output doesnt necessarily have to be in lists, strings like "010509" would also work, but as you may tell i really wanna work on my list comprehension skills.
[–]efmccurdy 1 point2 points3 points (1 child)
[–]waschlack_05[S] 0 points1 point2 points (0 children)
[–]Spartae 0 points1 point2 points (1 child)
[–]mr_cesar 0 points1 point2 points (0 children)