do

The do tag works exactly like the regular variable expression ({{ ... }}) just that it doesn't print anything:

1
{% do 1 + 2 %}