看板 Python 關於我們 聯絡資訊
※ 引述《lovehoumin (瑟夫李)》之銘言: : def merge3 ('''add something here '''): : res = [] : '''add something here''' : return res : mid = [33, 44, 88, 99, 22, 99, 77, 66, 55, 44, 33, 22, 88, 77, 66, 55] : final = [13, 14, 18, 21, 13, 14, 18, 21, 37, 68, 16, 15, 14, 13, 13, 12] : bonus = [3, 1, 1, 2, 3, 1, 1, 2, 3, 6, 1, 5, 4, 3, 1, 2] : '''call the function and receive a list''' : '''using a for-loop to print the results separated be \t''' : 以下是輸出的結果↓ : http://i.imgur.com/tRngRut.jpg : 小弟在做function練習時,遇到了瓶頸...! : 可否版上的大大幫我解答~~謝謝 就是需要編輯的地方完全不知道要加入什麼? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.250.65.17
uranusjr:我覺得你在學 Python 之前應該先學好中文 03/14 18:00
Microscft:同意樓上 03/14 20:04
alibuda174:我想他是指"add something here"的地方 03/14 20:30
Microscft:http://ppt.cc/Ug-x 果然跟我想的一樣 伸手牌的 03/14 20:44
chigi:...觀察一下list內的內容和答案的關係好嗎? 03/18 10:04