title: How do I append input into lst(but list must meet certain parameters)
body: <p>I wanted to keep title short.
  My goal is to create a calender type. the code I did was</p>
  <pre><code>days = [&quot;sunday&quot;,&quot;monday&quot;, &quot;tuesday&quot;, &quot;wednesday&quot;, &quot;thursday&quot;, &quot;friday&quot;, &quot;saturday&quot;]
  userInput = input(&quot;What day of the week would you like to assign a event: &quot;)
  lst = []
  input_words=userInput.lower().split()
  for word in input_words:
      if word in days:
          print(word.append(lst))
      else:
        print(&quot;You typed days of week wrong! Try Again!&quot;)
        
  </code></pre>
  <p>As you see I wanted to make 'userInput' only allowed too type in the items in 'days' which worked i think.
  The problem with the code is when I do run it it says
  attribute error 'str'object has no attribute 'append'
  and yes i tried other things such as insert but same thing.
  also I tried my best to make this clear for anyone helping so other than grammar any suggestions on improvement. Hope you have a good day!</p>