40923231 cp2020

  • Home
    • Site Map
    • reveal
    • blog
  • 首頁
  • homework1
    • PCH8 Cooling
      • Heat Sources(熱源)
      • BIOS Settings(BIOS設定)
      • Cooling Methods(冷卻方式)
      • Cooling Installation and Maintenance(冷卻安裝與維護)
      • Case Fans Installation(機箱風扇 安裝)
  • homework2
    • 2-1
    • 2-2
    • 2-3
  • homework3
    • 13 Fibonacci (費氏數列)
    • 21 Write To A File (文件編寫)
    • 35 Birthday Months(生日月份)
homework2 << Previous Next >> 2-2

2-1

設計一乙

import urllib.request
url = "https://nfulist.herokuapp.com/?semester=1091&courseno=0762"
cp1a = []
for line in urllib.request.urlopen(url):
    cp1a.append(int(line.decode('utf-8').rstrip()))
print(cp1a)
print("總共有" + str(len(cp1a)) + " 筆")
total = len(cp1a)
for i in range(total):
    print("http://github.com/" + str(cp1a[i]) + "/cp2020")

homework2 << Previous Next >> 2-2

Copyright © All rights reserved | This template is made with by Colorlib