While loops are simply: while something do this

	x = 0
	while x < 5:
		print(x)
		x += 1

Try this in another CMD Window with	 while_if_ex1.py

First, we always must initialize an object. In this case we are starting x at 0 because we want to count to 4. Using a while loop and the condition of "as long as x is less than 5" do something. The something we are doing is printing out what x equals to and incrimenting x to produce the climbing count. Everytime the loop runs through, 1 is added to x and then the loop restarts. Eventually, x becomes 5 and the condition is no longer satisfied because 5 is not less than 5 and the loop concludes. 

A good portion of this course itself utilizes something along the lines of:
	
	while False:
		do something

Using boolean logic, I stay within loops until criteria are satisfied and then simply throw in a True to negate the loops condition. 

The second largest portion of this course itself and most programs is If Else statements:
	
	x = 2
	if x < 5:
		print(x)
	else:
		print('X is greater than 5')

Try the above code:		while_if_ex2.py

You can extend If Else with Elif:

	x = input('enter number: \n')
	if int(x) < 5:
    		print('X is less than 5')
	elif int(x) == 5:
    		print('X is equal to 5')
	else:
   		print('X is greater than 5')

Try the above code:		while_if_ex3.py

First you are asked for a number. then it takes that number and passes it through the If Else tests until one condition is met, and finally executes the nested code. 
