title: How to create a statement that will print out words that start with particular word?
body: <p>How to print words starting from a particular letter in python without using functions, but using methods or loops.</p>
  <p>1 ) I got a string and wants to print words starting with  'm'</p>
  <pre><code>St= &quot;where is my mobile&quot;
  </code></pre>
  <blockquote>
  <p>result =  &quot;my&quot;, &quot;mobile&quot;</p>
  </blockquote>
  <p>2 ) For the below list, how to output list starting with &quot;p&quot;, which  can be either lower or upper.</p>
  <pre><code>List = ['mobile',&quot;pencil&quot;,&quot;Pen&quot;,&quot;eraser&quot;,&quot;Book&quot;]
   
   RESULT= &quot;pencil&quot;,&quot;pen&quot;.
  </code></pre>
  <p>Thanks</p>
  <p>Nb: This is not a homework, only a python newbie</p>