a1 = int (input ("enter the marks m1="))#int type
a2 = int (input ("enter the marks m2="))# int type
a3 = input (("enter the marks m3="))
a4 = input (("nter the marks m4="))
a5 = input (("enter the marks m5="))
a6 = input (("enter the marks m6="))
list =[a1,a2,a3,a4,a5,a6]
list.sort()
print (list)
a1 = int (input ("enter the marks m1="))#int type a2 = int (input ("enter the marks m2="))# int type a3 = input (("enter the marks m3=")) a4 = input (("nter the marks m4=")) a5 = input (("enter the marks m5=")) a6 = input (("enter the marks m6=")) list =[a1,a2,a3,a4,a5,a6] list.sort() print (list)