Created
April 13, 2022 02:15
-
-
Save Lubba-64/abec09f05ead25407a882943425dd352 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pase poorly formatted school math assignment numbers here. | |
data = """32,33,21,51,44,25,35,82,55,47,52,38,39,43,48,51,53,37,40,15 | |
""" | |
# run the program, copy the output, paste to google sheets. much faster than retyping by hand. | |
import re | |
spl = re.split(pattern='[\n,]',string=data) | |
print('\n'.join(spl)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment