Gambling involves risking money or something else of value in an event whose outcome is…