Programme chap2_type_1236_.py


# coding: latin-1
import copy
l  = [1,2,3]
l2 = copy.copy (l)
l3 = l

print l == l2  # affiche True
print l is l2  # affiche False
print l is l3  # affiche True

créé avec py2html version:0.62