[progliste] Re: Python et indentation

2012-04-29 Par sujet Maan ALOUN
bonjour J.F, merci bien pour cet explication, peux-tu la compléter par des exemples, si on considère l'indentation par tab, comme Yannick a fait? -- From: Jean-François Colas jfco...@inja.fr Sent: Saturday, April 28, 2012 2:23 PM To:

[progliste] Re: Python et indentation

2012-04-29 Par sujet Jean-François Colas
Salut, Quel genre d'exemple tu aurais besoin d'avoir en plus de ceux de Yannick pour t'aider? Je prends juste le cas de deux boucles imbriquées: i=0 j=0 while i10: tab while j10: tab tab j+= 1 tab tab print i=%s, j=%s % (i, j) tab i+= 1 Dans ce cas de figure, le print provoque un affichage

[progliste] Re: Python et indentation

2012-04-29 Par sujet Maan ALOUN
je te remerci, maintenant ca va mieux. -- From: Jean-François Colas jfco...@inja.fr Sent: Sunday, April 29, 2012 3:25 PM To: progliste@ml.free.fr Subject: [progliste] Re: Python et indentation Salut, Quel genre d'exemple tu aurais besoin