div1.py

Created by jilsaint90

Created on October 09, 2021

256 Bytes


# Type your text here
from maths import*


def div1(n):
  div=2
  L=[]
  for n in range(1;n+1):
    if n%div==0:
      L.append(div)
    else:
      div=div+1
      if n=n/div==0: ### jsp comment faire pour ici
        L.append(div)
   return L