(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# coding=utf-8 | |
import math | |
import itertools | |
def evaluate_circuit(gates, initial_bits=None): | |
""" | |
:param gates: [( [controls], [targets] )] | |
:param initial_bits: set(on_bits) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.