The city council shall also have and possess the following express powers. . . To prohibit and restrain, or to regulate the firing of firecrackers, guns and pistols . . .