Python modifiant la variable globale de l'intérieur de la fonction
c = 1 # global variable
def add():
c = c + 2 # increment c by 2
print(c)
add()
SAMER SAEID
c = 1 # global variable
def add():
c = c + 2 # increment c by 2
print(c)
add()