xxxxxxxxxx
tup= ()
while True :
roll = int(input("Enter a roll number : "))
name = input("Enter name :")
mark = input("Enter marks :")
tup += ( (roll,name,mark ),)
flag = input("Do you want add another record (if yes the pres Y ) :")
if flag not in ['y','Y']:
break
print(tup)