<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Comprehensions
In addition to sequence operations and list methods, Python includes a more advanced operation called a list comprehension.
List comprehensions allow us to build out lists using a different notation. You can think of it as essentially a one line for loop built inside of brackets. For a simple example
Step1:  This is the basic idea of a list comprehension. If you're familiar with mathematical notation this format should feel familiar for example
Step2:  Example 3
Lets see how to add in if statements
Step3:  Example 4
Can also do more complicated arithmetic
Step4:  Example 5
We can also perform nested list comprehensions, for example
<ASSISTANT_TASK:>
Python Code:
# Grab every letter in string
lst = [x for x in 'word']
# Check
lst
Explanation: Comprehensions
In addition to sequence operations and list methods, Python includes a more advanced operation called a list comprehension.
List comprehensions allow us to build out lists using a different notation. You can think of it as essentially a one line for loop built inside of brackets. For a simple example:
Example 1
End of explanation
# Square numbers in range and turn into list
lst = [x**2 for x in range(0,11)]
lst
Explanation: This is the basic idea of a list comprehension. If you're familiar with mathematical notation this format should feel familiar for example: x^2 : x in { 0,1,2...10} 
Lets see a few more example of list comprehensions in Python:
Example 2
End of explanation
# Check for even numbers in a range
lst = [x for x in range(11) if x % 2 == 0]
lst
Explanation: Example 3
Lets see how to add in if statements:
End of explanation
# Convert Celsius to Fahrenheit
celsius = [0,10,20.1,34.5]
fahrenheit = [ ((float(9)/5)*temp + 32) for temp in Celsius ]
fahrenheit
Explanation: Example 4
Can also do more complicated arithmetic:
End of explanation
lst = [ x**2 for x in [x**2 for x in range(11)]]
lst
Explanation: Example 5
We can also perform nested list comprehensions, for example:
End of explanation
<END_TASK>