st = 'Print only the words that start with s in this sentence'

#Code here 
print st.split()
for word in st.split():
    if word[0] == 's':
        print word

[word for word in st.split() if word[0] == 's']

"""
Explanation: Statements Assessment Test
Lets test your knowledge!

Use for, split(), and if to create a Statement that will print out words that start with 's':
End of explanation
"""


#Code Here
[number for number in xrange(0,11) if number %2 ==0 ]

"""
Explanation: Use range() to print all the even numbers from 0 to 10.
End of explanation
"""


#Code in this cell
[num for num in xrange(1,51) if num % 3 ==0]

"""
Explanation: Use List comprehension to create a list of all numbers between 1 and 50 that are divisible by 3.
End of explanation
"""


st = 'Print every word in this sentence that has an even number of letters'

#Code in this cell
for word in st.split():
    if len(word) % 2 == 0:
        print word

"""
Explanation: Go through the string below and if the length of a word is even print "even!"
End of explanation
"""


#Code in this cell
for num in xrange(1,101):
    if num % 3 == 0 and num % 5 == 0:
        print num, 'FizzBuzz'
    elif num % 5 == 0: 
        print num, 'Buzz'
    elif num % 3 ==0:
        print num, 'Fizz'
    

"""
Explanation: Write a program that prints the integers from 1 to 100. But for multiples of three print "Fizz" instead of the number, and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".
End of explanation
"""


st = 'Create a list of the first letters of every word in this string'

#Code in this cell
[word[0] for word in st.split()]

l = [2,3,4,74,4,4]

l.ap

"""
Explanation: Use List Comprehension to create a list of the first letters of every word in the string below:
End of explanation
"""


