1-liner solution in Speedy category for Remove All After by Stensen
remove_all_after = lambda l, b: l[:l.index(b)+1] if b in l else l
Sept. 21, 2020