jmpark0118 / CODING_TEST_PRACTICE

0 stars 0 forks source link

Practice>Python>Regex and Parsing>Re.split() #96

Open jmpark0118 opened 3 years ago

jmpark0118 commented 3 years ago

image

출처 : https://www.hackerrank.com/challenges/re-split/problem

jmpark0118 commented 3 years ago

regex_pattern = r"[,.]"

import re
print("\n".join(re.split(regex_pattern, input())))