推 st1009: 然後為了保命蓋上課本。 05/23 09:37
推 st1009: 你的問題用print("QAQ",end="")應該都能解決 05/23 09:44
→ st1009: 譬如print("https",end="") 備註:好像py3才支援 05/23 09:45
推 TitanEric: str.format 應該不只加https 還要加URL吧? 05/23 11:08
→ liangjr: sel裡面書名跟作者都有 可以分開之後再用zip合起來 05/23 11:19
→ liangjr: titles = [x for i,x in enumerate(sel) if i % 2 == 0] 05/23 11:19
→ liangjr: authors = [x for i,x in enumerate(sel) if i % 2 == 1] 05/23 11:20
→ liangjr: 然後itertools.zip_longest(titles, authors) 05/23 11:22