Computer scienceBackendFlaskTemplates

Jinja filters

Naming

Report a typo

Which is the correct way to apply the following custom-made filter inside a template to get the value of 2102^{10} ?

@app.template_filter("exponent") # add this to the top of the filter function
def power(number,y): #filter function
  return number**y
Select one option from the list
___

Create a free account to access the full topic