Use Javascript Variable In String Python Functions With Variable Number