Last active 1728394631

loop.py Raw
1from itertools import product
2
3list_a = [1, 2020, 70]
4list_b = [2, 4, 7, 2000]
5list_c = [3, 70, 7]
6
7for a, b, c in product(list_a, list_b, list_c):
8 if a + b + c == 2077:
9 print(a, b, c)