title: Program Allows User To Input 5 Student Names And Marks To Print A Report (loop)
body: <p>I want the program to allow you to input 5 student names and student marks. However every time I run it, it doesnt accept the names of the students.</p>
  
  <pre><code>students=[]
  for num in range(5):
      x=input("Enter name of students: ")
      students.append(x)
  
  marks=[]
  for num in range(5):
      y=input("Enter marks of students:")
      marks.append(y)
  
  report = input("Do you want to print class report?: ")
  if report == 'yes':
      print(x[0],":", y[0])
      print(x[1],":", y[1])
      print(x[2],":", y[2])
      print(x[3],":", y[3])
      print(x[4],":", y[4])
  </code></pre>