The council or other governing body of any town or city of this state may prohibit houses of prostitution and punish the inmates thereof.

(Code 1907, Β§1294; Code 1923, Β§2052; Code 1940, T. 37, Β§488.)