en Sandbox-Implementation 5 Z10896zh-hant 實作
無編輯摘要 |
Converting reference to programming language to use an ID |
||
(未顯示由 1 位使用者於中間所作的 1 次修訂) | |||
第10行: | 第10行: | ||
"Z14K3": { |
"Z14K3": { |
||
"Z1K1": "Z16", |
"Z1K1": "Z16", |
||
"Z16K1": |
"Z16K1": "Z610", |
||
⚫ | |||
⚫ | |||
⚫ | |||
"Z16K2": "def Z10119(Z10119K1):\n\turllib = __import__('urllib.request')\n\tjson = __import__('json')\n\trequest = urllib.request.Request(\"https://www.wikifunctions.org/w/api.php?action=wikilambda_fetch\u0026format=json\u0026zids=Z1%7CZ2%7CZ3\u0026formatversion=2\")\n\tresponse = urllib.request.urlopen(request)\n\tjson_response = json.loads(json.loads(response.read().decode(\"utf-8\"))['Z1']['wikilambda_fetch'])\n\tlabels = json_response['Z2K3']['Z12K1']\n\tdel labels[0]\n\tfor langDict in labels:\n\t\tif langDict['Z11K1'] == \"Z1002\":\n\t\t\treturn langDict['Z11K2']\n\treturn ''" |
"Z16K2": "def Z10119(Z10119K1):\n\turllib = __import__('urllib.request')\n\tjson = __import__('json')\n\trequest = urllib.request.Request(\"https://www.wikifunctions.org/w/api.php?action=wikilambda_fetch\u0026format=json\u0026zids=Z1%7CZ2%7CZ3\u0026formatversion=2\")\n\tresponse = urllib.request.urlopen(request)\n\tjson_response = json.loads(json.loads(response.read().decode(\"utf-8\"))['Z1']['wikilambda_fetch'])\n\tlabels = json_response['Z2K3']['Z12K1']\n\tdel labels[0]\n\tfor langDict in labels:\n\t\tif langDict['Z11K1'] == \"Z1002\":\n\t\t\treturn langDict['Z11K2']\n\treturn ''" |
||
} |
} |
||
第25行: | 第22行: | ||
"Z11K1": "Z1002", |
"Z11K1": "Z1002", |
||
"Z11K2": "Sandbox-Implementation 5" |
"Z11K2": "Sandbox-Implementation 5" |
||
⚫ | |||
{ |
|||
⚫ | |||
⚫ | |||
"Z11K2": "Spielwiesen-Implementierung 5" |
|||
} |
} |
||
] |
] |
到 2024年5月22日 (禮拜三) 16:12 嗰眼下改動
此頁面以沒有JavaScript的方式顯示