Browse Source

fonctions.py: rename variable to make it clearer

master
Dimitri Merejkowsky 5 years ago
parent
commit
cd73840982
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      sources/03-fonctions.py

+ 3
- 3
sources/03-fonctions.py View File

@@ -1,9 +1,9 @@
def add(a, b): def add(a, b):
return a + b return a + b


a = 1
b = 2
c = add(a, b)
nombre_1 = 1
nombre_2 = 2
c = add(nombre_1, nombre_2)
print(c) print(c)