<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Python Conditionals And Loops
Control Flow
Control flow concerns how programs proceed in their execution to arrive a desired outcome. 
Programs can make choices depends on our programs structure and flow. We will examines 
the conditional statements and loops here.
Conditionals
A conditional statement is a programming concept that describes whether a region of code runs based on if a condition is true or false. The keywords involved in conditional statements are if, and optionally elif and else.
Loops
The for statement
The for statement reads
for xxx in yyyy
Step1:  Range function in python is a daily-use function in the for loop
Step2:  This is a simple for loop that sum up all squared integer from 1 to 100
Step3:  The While statement
The While statement reads
while CONDITIONAL
<ASSISTANT_TASK:>
Python Code:
x = [1,2,3,4,5,6,7,8]
for item in x:
    print item
s = ['a','c','b','d','e','g','h',8]
for item in s:
    print item
Explanation: Python Conditionals And Loops
Control Flow
Control flow concerns how programs proceed in their execution to arrive a desired outcome. 
Programs can make choices depends on our programs structure and flow. We will examines 
the conditional statements and loops here.
Conditionals
A conditional statement is a programming concept that describes whether a region of code runs based on if a condition is true or false. The keywords involved in conditional statements are if, and optionally elif and else.
Loops
The for statement
The for statement reads
for xxx in yyyy:
yyyy shall be an iteratable, i.e. tuple or list or sth that can be iterate. After this line, user should add an indentation at the start of next line, either by space or tab.
End of explanation
for item in range(1,20,2):
    print item
Explanation: Range function in python is a daily-use function in the for loop:
End of explanation
s=0
for i in range(1,100):
    s+=i*i
print s
Explanation: This is a simple for loop that sum up all squared integer from 1 to 100
End of explanation
s=0; i=1
while i<100:
    s+=i*i
    i+=1
print s
m = 20
n = 79
while n != 0:
    r = m % n
    m = n
    n = r
print m
Explanation: The While statement
The While statement reads
while CONDITIONAL:
CONDITIONAL is a conditional statement, like i &lt; 100 or a boolean variable. After this line, user should add an indentation at the start of next line, either by space or tab.
End of explanation
<END_TASK>