# Python's str in Vibe is a text of code points (D171): len counts characters, s[i] is the
# one at i, + joins, print and f-strings write UTF-8. CPython prints the same.


def main() -> None:
    s: str = "héllo, 世界 🌍"
    print(s)
    print(len(s))
    print(f"{s} has {len(s)} characters")
    t: str = s + "!"
    print(t, len(t))
    c: str = s[7]
    print(c, c == "世", s[11 - 1] == "🌍")
    print("plain", "Latin-1: café")
