title: Having some trouble on this Python problem
body: <p>I'm tasked with this question:</p>
  <blockquote>
  <p>Design a program that asks the user to enter a store’s sales for each day of the week. The amounts should be stored in a list. Use a loop to calculate the total sales for the week and display the result.</p>
  </blockquote>
  <p>I've written this thus far</p>
  <pre><code>listf=[0,]
  def total_list(listf):
  sales_total= int(input(&quot;enter weekly sales:&quot;))
  
  for x in range(len(listf)):
      sales_total +=listf[x]
  return sales_total
  </code></pre>