Chapitre 3 : Python - Les bases / 1 - Les variables Mémorisation 0x Réussite 0/0
Aller sur w3schools.com pour découvrir la documentation de la fonction print().
Repérer la syntaxe d'appel de cette fonction. Les arguments que vous pouvez lui donner, ainsi que leur valeur par défaut.
print(object(s), sep=separator, end=end, file=file, flush=flush)
Parameter Description
object(s) Any object, and as many as you like. Will be converted to string before printed
sep='separator' Optional. Specify how to separate the objects, if there is more than one. Default is ' '
end='end' Optional. Specify what to print at the end. Default is '\n' (line feed)