Problem on accessing list


#1

def main():
names = []
where is the error

YOUR CODE GOES HERE

names.append("Robin")
names.append("Aman")
names.append("Rahul")
print(names)
return 0

if name == ‘main’:
main()