Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « turtle » Python 3.11.3

Fonction bgcolor - module turtle

Signature de la fonction bgcolor

def bgcolor(*args) 

Description

help(turtle.bgcolor)

Set or return backgroundcolor of the TurtleScreen.

        Arguments (if given): a color string or three numbers
        in the range 0..colormode or a 3-tuple of such numbers.

        Example:
        >>> bgcolor("orange")
        >>> bgcolor()
        'orange'
        >>> bgcolor(0.5,0,0.5)
        >>> bgcolor()
        '#800080'