<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://travaux.indse.be/index.php?action=history&amp;feed=atom&amp;title=Ex_5.6</id>
	<title>Ex 5.6 - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://travaux.indse.be/index.php?action=history&amp;feed=atom&amp;title=Ex_5.6"/>
	<link rel="alternate" type="text/html" href="https://travaux.indse.be/index.php?title=Ex_5.6&amp;action=history"/>
	<updated>2026-05-10T16:07:59Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://travaux.indse.be/index.php?title=Ex_5.6&amp;diff=4157&amp;oldid=prev</id>
		<title>Cyrilde le 4 avril 2011 à 12:34</title>
		<link rel="alternate" type="text/html" href="https://travaux.indse.be/index.php?title=Ex_5.6&amp;diff=4157&amp;oldid=prev"/>
		<updated>2011-04-04T12:34:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 4 avril 2011 à 14:34&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Énoncer &lt;/del&gt;de l'exercice :==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Énoncé &lt;/ins&gt;de l'exercice :==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Écrivez un script qui détermine si une chaîne contient ou non le caractère « e ».&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Écrivez un script qui détermine si une chaîne contient ou non le caractère « e ».&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Solutions de cet exercices :==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Solutions de cet exercices :==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cyrilde</name></author>
	</entry>
	<entry>
		<id>https://travaux.indse.be/index.php?title=Ex_5.6&amp;diff=4126&amp;oldid=prev</id>
		<title>Kevinde le 4 avril 2011 à 12:04</title>
		<link rel="alternate" type="text/html" href="https://travaux.indse.be/index.php?title=Ex_5.6&amp;diff=4126&amp;oldid=prev"/>
		<updated>2011-04-04T12:04:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 4 avril 2011 à 14:04&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Énoncer de l'exercice :==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Écrivez un script qui détermine si une chaîne contient ou non le caractère « e ».&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Solutions de cet exercices :==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Solutions de cet exercices :==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solution de Cyril Dewez :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Solution de Cyril Dewez :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kevinde</name></author>
	</entry>
	<entry>
		<id>https://travaux.indse.be/index.php?title=Ex_5.6&amp;diff=4103&amp;oldid=prev</id>
		<title>Cyrilde : Nouvelle page : ==Solutions de cet exercices :== * Solution de Cyril Dewez :  txt=input()  a=len(txt)  c=0  d=0  while  c&lt;a :     b=txt[c]     if (b==&quot;e&quot;):         print(&quot;ok&quot;)         d=d+1     c=c+...</title>
		<link rel="alternate" type="text/html" href="https://travaux.indse.be/index.php?title=Ex_5.6&amp;diff=4103&amp;oldid=prev"/>
		<updated>2011-03-18T16:42:49Z</updated>

		<summary type="html">&lt;p&gt;Nouvelle page : ==Solutions de cet exercices :== * Solution de Cyril Dewez :  txt=input()  a=len(txt)  c=0  d=0  while  c&amp;lt;a :     b=txt[c]     if (b==&amp;quot;e&amp;quot;):         print(&amp;quot;ok&amp;quot;)         d=d+1     c=c+...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Solutions de cet exercices :==&lt;br /&gt;
* Solution de Cyril Dewez :&lt;br /&gt;
 txt=input()&lt;br /&gt;
 a=len(txt)&lt;br /&gt;
 c=0&lt;br /&gt;
 d=0&lt;br /&gt;
 while  c&amp;lt;a :&lt;br /&gt;
    b=txt[c]&lt;br /&gt;
    if (b==&amp;quot;e&amp;quot;):&lt;br /&gt;
        print(&amp;quot;ok&amp;quot;)&lt;br /&gt;
        d=d+1&lt;br /&gt;
    c=c+1&lt;br /&gt;
 print(d)&lt;br /&gt;
*Solution de Gérard Swinnen :&lt;br /&gt;
 # Recherche d'un caractère particulier dans une chaîne&lt;br /&gt;
 # Chaîne fournie au départ :&lt;br /&gt;
 ch = &amp;quot;Monty python flying circus&amp;quot;&lt;br /&gt;
 # Caractère à rechercher :&lt;br /&gt;
 cr = &amp;quot;e&amp;quot;&lt;br /&gt;
 # Recherche proprement dite :&lt;br /&gt;
 lc = len(ch)    # nombre de caractères à tester&lt;br /&gt;
 i = 0           # indice du caractère en cours d'examen&lt;br /&gt;
 t = 0           # &amp;quot;drapeau&amp;quot; à lever si le caractère recherché est présent &lt;br /&gt;
 while i &amp;lt; lc:&lt;br /&gt;
    if ch[i] == cr:&lt;br /&gt;
        t = 1&lt;br /&gt;
    i = i + 1    &lt;br /&gt;
 # Affichage :&lt;br /&gt;
 print(&amp;quot;Le caractère&amp;quot;, cr, end =’ ‘)        &lt;br /&gt;
 if t == 1:&lt;br /&gt;
    print(&amp;quot;est présent&amp;quot;, end =’ ‘)&lt;br /&gt;
 else:&lt;br /&gt;
    print(&amp;quot;est inrouvable&amp;quot;, end =’ ‘)&lt;br /&gt;
 print(&amp;quot;dans la chaîne&amp;quot;, ch)&lt;/div&gt;</summary>
		<author><name>Cyrilde</name></author>
	</entry>
</feed>