File size: 201 Bytes
545ce24
 
 
 
 
 
 
1
2
3
4
5
6
7
from typing import List, Dict

def format_topics(topics: List[str]) -> List[str]:
    return [f"#{topic.lower()}" for topic in topics]

def clean_text(text: str) -> str:
    return text.strip().lower()