Straight out of the shipyard submarines usually had no guns whatsoever. Armament was fitted later and varied considerably, depending on availability and the captain's preference as to location. It has been said that no two fleet subs were exactly alike in this respect.
USS Robalo shortly after launching sans guns.