TypeError: 'int' object is not callable

numlist = list()
while True:
inp = input('Enter a num: ')
if inp == ‘done’: break
value = float(inp)
numlist.append(value)
average = sum(numlist) / len(numlist)
print(‘Average:’, average)

Hello @bhuvneshhh, Welcome to Codechef Community.
Looks like you need some help. Kindly explain your question or doubt, so that the community can help.

I don’t know how you are getting this error.
This code here works, that is, it is able to find the average of the list.

numlist = list()
while True:
 inp = input('Enter a num: ')
 if inp == "done": 
  break
 value = float(inp)
 numlist.append(value)
average = sum(numlist) / len(numlist)
print("Average:", average)