去年末入了一部 Xbox One X

主要想玩一些大作,目前在购买游戏上的花费超过 2000 了

通关了三款游戏

《荒野大镖客:救赎2》

《鬼泣 5》

《只狼:影逝二度》

Image for post
Image for post
Xbox Achievements

《巫师 3》 《战地 5》还没开始玩

我在《只狼: 影逝去二度》的游戏时间有 120 个小时

剧情倒不长,游戏难度很高。战斗方式很新颖,各种 BOSS 战斗很吸引人


have a list of arbitrary length, and get groups of size n elements from a list

e.g.

# input
>>> n = 3
>>> l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
# output
[(1, 2, 3), (4, 5, 6), (7, 8, 9), (10, 11)]

Implement a chunk function:

def chunk(l, n):
for i in range(0, len(l), n):
yield l[i: i + n]

result:

>>> chunk(l, n)
[[1, 2, 3], [4, 5, 6], [7, 8, …

Lichun Qu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store