A slot is a gambling machine that displays symbols on mechanical reels and pays out…