This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Page:Swinnen - Apprendre Python, 2010.djvu/102: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Zephyrus
 
imported>Zephyrus
Mise en forme
 
Page body (to be transcluded):Page body (to be transcluded):
Line 1: Line 1:
<poem>''' >>> serie = [9, 3, 6, 1, 7, 5, 4, 8, 2] '''
<poem>
{{br0}}''' >>> serie = [9, 3, 6, 1, 7, 5, 4, 8, 2] '''
''' >>> print(eleMax(serie)) '''
''' >>> print(eleMax(serie)) '''
''' 9 '''
''' 9 '''

Latest revision as of 10:00, 19 March 2012

This page has been proofread


80
Chapitre 7 - Fonctions originales


>>> serie = [9, 3, 6, 1, 7, 5, 4, 8, 2]
>>> print(eleMax(serie))
9
>>> print(eleMax(serie, 2, 5))
7
>>> print(eleMax(serie, 2))
8
>>> print(eleMax(serie, fin =3, debut =1))
6