...
<select> inputs without a value
attribute in the option tags will submit the translated version other-language values if client-side translation is activeactiver
use
<option value="hello">hello</option>
instead of just<option>hello</option>
...
Python3’s built in round
function will round .5’s towards the even choice
round(0.5) == 0, round(1.5) == 2, rou
Code Block language py # Hack def rounder(number, ndigits=None): return round(number + 1e-8, ndigits)