num = 17arr = []for a in range(1, num+1): for b in range(1, num+1): for c in range(1, num+1): for d in range(1, num+1): for e in range(1, num+1): temp = {a, b, c, d, e} if len(temp) == 5 and sum(temp) == num: ...
回答于 2021-09-23 22:47
1. name = 'Eric,' 或者 2. print('Hello ' + name + ",woule you like to learn some Python today?")
回答于 2021-09-23 22:05
代碼:prefix = "https://book.douban.com/subject/"address = [2333637, 33409182, 3090244, 4819381, 1054592, 25848514, 2376727, 3069028, 1760297, 2081995, 21, 2278274, 2213619, 3365411, 2081994, 2174072, 3099292]url = [prefix+str(i) for i in address]for i in url: print(i)复制代码輸出:https://book....
回答于 2021-09-23 21:30