<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Примеры использования языков Python и Pascal  by Heorhi Pravada</title>
      <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw</link>
      <description>В ходе выполнения заданий с массивами</description>
      <language>en-us</language>
      <pubDate>2020-05-20 15:48:30 UTC</pubDate>
      <lastBuildDate>2023-04-04 00:49:48 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Заполнить массив нулями</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585203219</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:48:42 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585203219</guid>
      </item>
      <item>
         <title>Python:</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585203329</link>
         <description><![CDATA[<div>a = [0] * 1000</div>]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:48:45 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585203329</guid>
      </item>
      <item>
         <title>Pascal:</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585211295</link>
         <description><![CDATA[<div>var a: array[1...1000] of integer;...for i := 1 to 1000 do  a[i] := 0;</div>]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:52:09 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585211295</guid>
      </item>
      <item>
         <title>Найти разность между максимальным и минимальным элементом массива</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585213873</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:53:12 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585213873</guid>
      </item>
      <item>
         <title>Pascal:</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585215267</link>
         <description><![CDATA[<div><strong>const</strong> N = 10;</div><div><strong>var</strong></div><div>    a: <strong>array</strong>[1..N] <strong>of</strong> <strong>integer</strong>;</div><div>    i: <strong>byte</strong>;</div><div>    min, max: <strong>integer</strong>;</div><div><strong>begin</strong></div><div>    randomize;</div><div>    <strong>for</strong> i:=1 <strong>to</strong> N <strong>do</strong> a[i]:=random(100);</div><div>    <strong>for</strong> i:=1 <strong>to</strong> N <strong>do</strong> write(a[i]:4);</div><div>    writeln;</div><div>    min := 100;</div><div>    max := -1;</div><div>    <strong>for</strong> i:=1 <strong>to</strong> N <strong>do</strong> <strong>begin</strong></div><div>        <strong>if</strong> a[i] &gt; max <strong>then</strong> max := a[i]</div><div>        <strong>else</strong> <strong>if</strong> a[i] &lt; min <strong>then</strong> min := a[i];</div><div>    <strong>end</strong>;</div><div>    writeln(max,'-',min,'=',max-min);    </div><div><strong>end</strong>.</div><div><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:53:45 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585215267</guid>
      </item>
      <item>
         <title>python:</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585217314</link>
         <description><![CDATA[<div>a = [11,8,12,0]<br>print(max(a)-min(a))</div>]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:54:20 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585217314</guid>
      </item>
      <item>
         <title>Сумма положительных чисел</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585218342</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:54:45 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585218342</guid>
      </item>
      <item>
         <title>Pascal:</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585219278</link>
         <description><![CDATA[<div><strong>const</strong></div><div>    N = 15;</div><div><strong>var</strong></div><div>    arr: <strong>array</strong>[1..N] <strong>of</strong> <strong>integer</strong>;</div><div>    i: <strong>byte</strong>;</div><div>    sum: <strong>integer</strong>;</div><div><strong>begin</strong> </div><div>    randomize;</div><div>    <strong>for</strong> i:=1 <strong>to</strong> N <strong>do</strong> <strong>begin</strong> <em>// заполнение </em></div><div>        arr[i] := random(10) - 5;</div><div>        write(arr[i]:4);</div><div>    <strong>end</strong>;</div><div>    writeln;</div><div> </div><div>    sum := 0; <em>// подсчет суммы</em></div><div>    <strong>for</strong> i:=1 <strong>to</strong> N <strong>do</strong></div><div>        <strong>if</strong> arr[i] &gt; 0 <strong>then</strong></div><div>            sum := sum + arr[i];</div><div>    writeln(sum:5);</div><div><strong>end</strong>.<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:55:09 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585219278</guid>
      </item>
      <item>
         <title>Python:</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585222759</link>
         <description><![CDATA[<div>X = [1,2,34,5,-5,-6,-8]</div><div>print(sum(filter(lambda x: x &gt; 0 , X))) // 42</div><div><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:56:33 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585222759</guid>
      </item>
      <item>
         <title>Поменять местами максимальный и минимальный элемент массива</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585225656</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:57:46 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585225656</guid>
      </item>
      <item>
         <title>Pascal:</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585226873</link>
         <description><![CDATA[<div><strong>const</strong> N = 5;</div><div><strong>var</strong></div><div>    a: <strong>array</strong>[1..N] <strong>of</strong> <strong>real</strong>;</div><div>    min, max, i: <strong>byte</strong>;</div><div>    b: <strong>real</strong>;</div><div><strong>begin</strong></div><div>    randomize;</div><div>    <strong>for</strong> i:=1 <strong>to</strong> N <strong>do</strong> <strong>begin</strong></div><div>        a[i] := random();</div><div>        write(a[i]:6:2);</div><div>    <strong>end</strong>;</div><div>    writeln;</div><div>    min := 1;</div><div>    max := 1;</div><div>    <strong>for</strong> i:=2 <strong>to</strong> N <strong>do</strong> <strong>begin</strong></div><div>        <strong>if</strong> a[i] &lt; a[min] <strong>then</strong></div><div>            min := i</div><div>        <strong>else</strong></div><div>            <strong>if</strong> a[i] &gt; a[max] <strong>then</strong></div><div>                max := i;</div><div>    <strong>end</strong>;</div><div>    b := a[min];</div><div>    a[min] := a[max];</div><div>    a[max] := b;</div><div>    <strong>for</strong> i:=1 <strong>to</strong> N <strong>do</strong></div><div>        write(a[i]:6:2);</div><div>    writeln;</div><div><strong>end</strong>.</div>]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:58:16 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585226873</guid>
      </item>
      <item>
         <title>Python:</title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585228867</link>
         <description><![CDATA[<div>l = []</div><div>for i in range(5):</div><div> l.append(float(input()))</div><div>maximum = max(l)</div><div>minimum = min(l)</div><div>for i in range(len(l)):</div><div> if l[i] == maximum:</div><div>   l[i] = minimum</div><div> elif l[i] == minimum:</div><div>   l[i] = maximum</div><div>print(l)</div><div><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2020-05-20 15:59:06 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585228867</guid>
      </item>
      <item>
         <title></title>
         <author>pravadka00</author>
         <link>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585231969</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/590974192/d93fdca3e8448ff65e783710ef232391/RkTrWZXDeb8.jpg" />
         <pubDate>2020-05-20 16:00:19 UTC</pubDate>
         <guid>https://padlet.com/pravadka00/bvatgtrjjr1bfemw/wish/585231969</guid>
      </item>
   </channel>
</rss>
