first import book
This commit is contained in:
parent
6be2701fd8
commit
dfd9c869d5
233 changed files with 47797 additions and 0 deletions
40
book/_sources/python.rst
Normal file
40
book/_sources/python.rst
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
Bases de Python
|
||||
===============
|
||||
|
||||
Une calculette
|
||||
--------------
|
||||
|
||||
Branchement conditionnel : `if`
|
||||
-------------------------------
|
||||
|
||||
Boucles : `for` et `while`
|
||||
--------------------------
|
||||
|
||||
Fonctions
|
||||
---------
|
||||
|
||||
Listes
|
||||
------
|
||||
|
||||
Dictionnaires
|
||||
-------------
|
||||
|
||||
Mise en forme du texte
|
||||
----------------------
|
||||
|
||||
Modules
|
||||
-------
|
||||
|
||||
|
||||
|
||||
.. activecode:: example2
|
||||
..
|
||||
.. import turtle
|
||||
.. t = turtle.Turtle()
|
||||
..
|
||||
.. for i in range(4):
|
||||
.. t.forward(100)
|
||||
.. t.right(90)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue