`{}` is used to define temporal variables (`str`, `n_points`) only in this scope. Variables with the same name appear later again.