Penn & Teller Tell A Lie: Machine Gun Misses

Most machine guns rely on the "spray and pray" technique, but does it really work or do the guns miss most of their targets?