# Expressions In Python f-strings, the curly brackets can take not just variable names, but also Python "expressions" inside a t-string's interpolation. The same is true in `tdom`. ## Simple Arithmetic Let's use an expression which adds two numbers together: ```python result = html(t"
{1 + 3}
") assert str(result) == '
4
' ``` ## Python Operation Just like with f-strings, you can use any valid Python expression inside the curly braces: ```python result = html(t"
{','.join(['a', 'b', 'c'])}
") assert str(result) == '
a,b,c
' ``` ## Call a Function But it's Python and f-strings-ish, so you can do even more. For example, call an in-scope function with an argument, which does some work, and insert the result: ```python def make_big(s: str) -> str: return f"SO VERY BIG: {s.upper()}" result = html(t"
{make_big('hello')}
") assert str(result) == '
SO VERY BIG: HELLO
' ```