TQC

@a7acc

Joined on Jul 24, 2021

  • This note is yours, feel free to play around. :video_game: Type on the left :arrow_left: and see the rendered result on the right. :arrow_right: :memo: Where do I start? Step 1: Change the title and add a tag [x] Create my first HackMD note (this one!) [ ] Change its title [ ] Add a tag :rocket:
     Like 1 Bookmark
  • 如何加入一元素在二維串列 row = eval(input()) #輸入列數 column = eval(input()) #輸入欄數 lst=[] #建立空串列 for i in range(row): #外迴圈控制列數 lst.append([]) #新增一列 for j in range(column): #內迴圈控制欄數 lst[i].append(i+j) #新增資料元素到每一欄中 #((i+j)是(列+欄)索引值)
     Like 1 Bookmark