<reponame>AmreshTripathy/Python<gh_stars>1-10
m1 = int(input("Enter mark for student numbers 1: "))
m2 = int(input("Enter mark for student numbers 2: "))
m3 = int(input("Enter mark for student numbers 3: "))
m4 = int(input("Enter mark for student numbers 4: "))
m5 = int(input("Enter mark for student numbers 5: "))
m6 = int(input("Enter mark for student numbers 6: "))

mylist = [m1, m2, m3, m4, m5, m6]
mylist.sort()

print (mylist)
m1 = int(input("Enter mark for student numbers 1: "))
m2 = int(input("Enter mark for student numbers 2: "))
m3 = int(input("Enter mark for student numbers 3: "))
m4 = int(input("Enter mark for student numbers 4: "))
m5 = int(input("Enter mark for student numbers 5: "))
m6 = int(input("Enter mark for student numbers 6: "))

mylist = [m1, m2, m3, m4, m5, m6]
mylist.sort()

print (mylist)