<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python on Harish's Weblog</title><link>https://harishbhat.com/tags/python/</link><description>Recent content in Python on Harish's Weblog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 09 Oct 2022 14:05:01 +0000</lastBuildDate><atom:link href="https://harishbhat.com/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Generating Pascal's/Pingala's Triangle using Python</title><link>https://harishbhat.com/programming/generating-pascals-pingalas-triangle-using-python/</link><pubDate>Sun, 09 Oct 2022 14:05:01 +0000</pubDate><guid>https://harishbhat.com/programming/generating-pascals-pingalas-triangle-using-python/</guid><description>Introduction:
There are plenty of articles on the Pascal&amp;rsquo;s or Pingala&amp;rsquo;s triangle on the internet, so I wish not to revisit the explanation and the history about the triangle. Rather this blog post explains about one of the simplest way to produce or generate the triangle in Pythonic way. It talks about how one can generate the triangle using some of the Python concepts like, list comprehension, Python&amp;rsquo;s zip(), Formatting functionalities etc.</description></item></channel></rss>