Code formatté avec ruff, et ajout de mon settings.json habituel
This commit is contained in:
@@ -2,9 +2,9 @@ from common import parse, split
|
||||
|
||||
|
||||
def main():
|
||||
l1, l2 = split(parse('input'))
|
||||
l1, l2 = split(parse("input"))
|
||||
print(sum(map(lambda x: x * len(list(filter(lambda y: y == x, l2))), l1)))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user