Skip to content
Snippets Groups Projects
18.py 179 B
Newer Older
hacker717's avatar
hacker717 committed
from itertools import product

state = input()
print("a b c f")
for elem in product((0, 1), repeat=3):
    a, b, c = elem[0], elem[1], elem[2]
    print(a, b, c, int(eval(state)))