summaryrefslogtreecommitdiff
path: root/progs/a813.py
blob: 67d4eec49a84b6cd932abf91bb78941b49321fc5 (plain)
1
2
3
def extract_string(str, l):
    result = [e for e in str if len(e) == l] 
    return result