count

CF

Count the Ships

Count the Ships: A sea is represented as an N*N matrix where # represents a part of a ship and – represents water. All the ships are…
PythonF

Factor Count – Integer

A number N is passed as input. The program should print the count of factors for the number N. Input Format:The first line will contain the…