title: How to store users input into dictionary? Python
body: <p>I want to create a simple app to Ask user to give name and marks of 10 different students and Store them in dictionary.</p>
  <p>so far only key:value from the last input is stored into dictionary.</p>
  <p>can you please check my code?</p>
  <pre><code> marks = {}
  
      for i in range(10):
          student_name = input(&quot;Enter student's name: &quot;)
          student_mark = input(&quot;Enter student's mark: &quot;)
  
  
  marks = {student_name.title():student_mark}
  
  print(marks)
  </code></pre>