<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>My Very First Ever Python Programme and on a Raspberry Pi</title><link>/products/raspberry-pi/b/blog/posts/my-very-first-ever-python-programme-and-on-a-raspberry-pi</link><description>I wished to join the Raspberry Pi day activity so I decided that I would combine this with writing my very first own Python programme as well. I recently did an online Python course which had some directed programmes in but I wanted to make up my own</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: My Very First Ever Python Programme and on a Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/my-very-first-ever-python-programme-and-on-a-raspberry-pi</link><pubDate>Mon, 16 Mar 2020 13:25:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:847a4754-1586-4873-8843-4f74d3bc74db</guid><dc:creator>colporteur</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Are you able to share the name of the online resource you used to prepare and provide your opinion?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8841&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My Very First Ever Python Programme and on a Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/my-very-first-ever-python-programme-and-on-a-raspberry-pi</link><pubDate>Sat, 14 Mar 2020 23:10:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:847a4754-1586-4873-8843-4f74d3bc74db</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;vid-19 strikes again&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8841&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My Very First Ever Python Programme and on a Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/my-very-first-ever-python-programme-and-on-a-raspberry-pi</link><pubDate>Sat, 14 Mar 2020 20:37:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:847a4754-1586-4873-8843-4f74d3bc74db</guid><dc:creator>clem57</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=python&amp;amp;text=%23+Python+code+to+reverse+a+string+%0A%23+using+extended+slice+syntax+%0A%0A%0A%23+Function+to+reverse+a+string+%0Adef+reverse%28string%29%3A+%0Astring+%3D+string%5B%3A%3A-1%5D+%0Areturn+string+%0A%0A%0As+%3D+%22yaD+iP+yppaH%22%0A%0A%0Aprint+%28%22The+original+string+is+%3A+%22%2Cend%3D%22%22%29+%0Aprint+%28s%29+%0A%0A%0Aprint+%28%22The+reversed+string%28using+extended+slice+syntax%29+is+%3A+%22%2Cend%3D%22%22%29+%0Aprint+%28reverse%28s%29%29]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&lt;span&gt;[mention:d25512d61e65470296ce2f82f47741ab:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;&amp;nbsp; try this code and see how recursion works...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8841&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My Very First Ever Python Programme and on a Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/my-very-first-ever-python-programme-and-on-a-raspberry-pi</link><pubDate>Sat, 14 Mar 2020 19:44:45 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:847a4754-1586-4873-8843-4f74d3bc74db</guid><dc:creator>airbornesurfer</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Awesome, dubbie! Nice improvement on the old &amp;quot;Hello World!&amp;quot; theme &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-847a4754-1586-4873-8843-4f74d3bc74db/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8841&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My Very First Ever Python Programme and on a Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/my-very-first-ever-python-programme-and-on-a-raspberry-pi</link><pubDate>Sat, 14 Mar 2020 19:26:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:847a4754-1586-4873-8843-4f74d3bc74db</guid><dc:creator>beacon_dave</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;You could try:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;import math&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;print(&amp;quot;Hello and Happy&amp;quot;, math.pi, &amp;quot;Day&amp;quot;)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8841&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My Very First Ever Python Programme and on a Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/my-very-first-ever-python-programme-and-on-a-raspberry-pi</link><pubDate>Sat, 14 Mar 2020 13:56:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:847a4754-1586-4873-8843-4f74d3bc74db</guid><dc:creator>kmikemoo</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;[mention:d25512d61e65470296ce2f82f47741ab:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;&amp;nbsp; Glad to see your work area looks like mine. &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-847a4754-1586-4873-8843-4f74d3bc74db/contentimage_5F00_938.png:16:16]&lt;/span&gt;&amp;nbsp; Looks like I&amp;#39;m going to have to pull out the books and follow in your footsteps.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8841&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: My Very First Ever Python Programme and on a Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/my-very-first-ever-python-programme-and-on-a-raspberry-pi</link><pubDate>Sat, 14 Mar 2020 13:51:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:847a4754-1586-4873-8843-4f74d3bc74db</guid><dc:creator>clem57</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Not a bad beginning &lt;span&gt;[mention:d25512d61e65470296ce2f82f47741ab:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; . For flashing led, you may need sudo.&lt;/p&gt;&lt;p&gt;Clem &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=8841&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>