Professional Documents
Culture Documents
Note Pour Apprendre A Coder en Python Par Nicolas D Tome 1
Note Pour Apprendre A Coder en Python Par Nicolas D Tome 1
#Variable
a_variable = 9
some_other_variable = a_variable + 4
another_variable = "Hello"
some_other_variable = a_variable * 3
print(a_variable)
#Tableau
#file/list
l=[0,6,4,6]
# Deletion of value 6
l.remove(6)
# List l after deleting value 6
print(l)
>>> [0,4,6]
l.sort()
l.sort(reverse=True)