Untitled

 avatar
unknown
plain_text
5 months ago
312 B
5
Indexable
with open("matches.txt", "r") as file:
    for line in file:
        parts = line.split("|")
        for part in parts:
            if "Matches:" in part:
                matches_str = part.replace("Matches:", "").strip()
                matches_int = int(matches_str)
                print(matches_int)
Editor is loading...
Leave a Comment