您不能選擇超過 %s 個話題
話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字
此存儲庫已封存,您能瀏覽檔案及複製此存儲庫,但不能推送、建立問題及拉取請求。
|
1234567891011121314 |
- import sys
- import urllib.request
-
-
- def main():
- number = sys.argv[1]
- with urllib.request.urlopen("http://numbersapi.com/" + number) as request:
- response = request.read().decode("utf-8")
- print(response)
-
-
- if __name__ == "__main__":
- main()
-
|