W3resource Function In Python With Parameters