Matrix Script
-
Practice>Python>Regex and Parsing>Matrix Scripthackerrank.com 2019. 4. 29. 21:48
hackerrank.com Matrix Script Problem Link : https://www.hackerrank.com/challenges/matrix-script/problem Difficulty : Hard Tip MUST remove __main__, it lead to fail even correct answer, because there is 'if' Should use regular expression Lookahead and lookbehind Write regular expression, to capture [alphabet][symboles][alphabet] Solution #!/bin/python3 import math import os import random import r..