(1) Whoever does in a public place an indecent act or an act contrary to public morals or wears an obscene outfit or contrary to public morals or causing an annoyance to public feelings shall be punished with flogging which may not exceed forty lashes or with fine or with both.