Python Function Define Input Data Html