Answers for "powerup(4)"

0

powerup(4)

import numpy as np
def powerup(i):
  if i == 1:
    return 1
  else:
    return np.square(i) + powerup(i-1)
Posted by: Guest on August-05-2021

Browse Popular Code Answers by Language