返回 DeepSeek-Reasonix
bravo.py
1 def normalise(label):
2 """Trim whitespace and drop a trailing colon."""
3 label = label.strip()
4 if label.endswith(":"):
5 label = label[:-1]
6 return label
7
7 lines PYTHON