<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Week2: Loops :: Notes Wiki</title>
    <link>https://wiki.sajidmahmood.me/cs-and-programming/cs50p/week2-loops/index.html</link>
    <description>Week 2: Practice Code GitHub Loops Ability in Python and other programming languages, to do something again and again.&#xA;while Loops Runs for forever unless certain conditions are met. An infinite loop (design flaw):&#xA;​ cat.py i = 3 while i != 0: print(&#39;meow&#39;) This code will run for forever unless interrupted by the user (Ctrl + C). i != 0 will always remain True, we change the value of i inside the loop on each run. Well designed while loop:</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <managingEditor>thesajid@proton.me (Sajid Mahmood)</managingEditor>
    <webMaster>thesajid@proton.me (Sajid Mahmood)</webMaster>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://wiki.sajidmahmood.me/cs-and-programming/cs50p/week2-loops/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>