def solution(msg: str, n: int) -> list:
# your code here
assert solution("The quick brown fox jumps over the lazy dog", 4) == ['quick', 'brown', 'jumps']
assert solution("We have all got both light and darkness inside us", 6) == ['darkness']
assert solution("Hogwarts should win", 2) == ['Hogwarts', 'should', 'win']
def solution(msg: str, n: int) -> list:
return [x for x in msg.split(' ') if len(x) > n]
assert solution("The quick brown fox jumps over the lazy dog", 4) == ['quick', 'brown', 'jumps']
assert solution("We have all got both light and darkness inside us", 6) == ['darkness']
assert solution("Hogwarts should win", 2) == ['Hogwarts', 'should', 'win']
def solution(msg: str, n: int) -> list:
# your code here
return [i for i in msg.split(" ") if len(i) > n]
assert solution("The quick brown fox jumps over the lazy dog", 4) == ['quick', 'brown', 'jumps']
assert solution("We have all got both light and darkness inside us", 6) == ['darkness']
assert solution("Hogwarts should win", 2) == ['Hogwarts', 'should', 'win']
def solution(msg: str, n: int) -> list:
# your code here
return [i for i in msg.split(' ') if len(i) > n]
assert solution("The quick brown fox jumps over the lazy dog", 4) == ['quick', 'brown', 'jumps']
assert solution("We have all got both light and darkness inside us", 6) == ['darkness']
assert solution("Hogwarts should win", 2) == ['Hogwarts', 'should', 'win']
def solution(msg: str, n: int) -> list:
return [i for i in msg.split(' ') if len(i) > n]
assert solution("The quick brown fox jumps over the lazy dog", 4) == ['quick', 'brown', 'jumps']
assert solution("We have all got both light and darkness inside us", 6) == ['darkness']
assert solution("Hogwarts should win", 2) == ['Hogwarts', 'should', 'win']