list = []
m = True
while m:
n = input("Ma'lumot kkiriting:")
list.append(n)
choice = input("Yana ma'lumot qo'shasizmi (ha/yoq):")
if choice in 'yoq':
m = False
print(list)