calculb.py

Created by niz-moussatat

Created on March 02, 2022

152 Bytes


def calculB() :
  nbr = 0
  compteur = 0
  for i in range(5,15) :
    nbr = nbr + i**2
    compteur = compteur + 1
  return nbr, compteur