D={}

count=0

while count<3:

ย  ย  name=input("Enter name: ")

ย  ย  age=input("Enter age: ")

ย  ย  sal=input("Enter salary: ")

ย  ย  count+=1 ย 

ย  ย  D[count]['names']=name ย  >>>>>>error

ย  ย  D[count]['ages']=age

ย  ย  D[count]['salary']=sal

print("data=" D)

ย