power

PythonF

Count of Power of X

Count of Power of X: N positive values v(i) where i = 1 to N are passed as input to the program. The program must print the count C of the…