title: Write a function that accepts a list of numbers and a single number as parameters. The function should print all the numbers less than the number
body: <p><a href="https://i.stack.imgur.com/o7nmK.png" rel="nofollow noreferrer">click here to view my code and question please</a></p>
  
  <p>Beginner Python programmer learning to code so please help by click the first link. </p>
  
  <p>I might as well  paste the code here for you to save you time.</p>
  
  <pre><code>def printValues(val1, lst=[]):
      for val1 in lst:
          if lst &lt; val1:
              print(lst)
  </code></pre>
  
  <p>Cant seem to make the code work as I cant figure out how to accept a list of numbers and a single parameter. Try my best to figure out how to print all the numbers less than the number. See question for clarification. Thank you.</p>