I have ran this line on replit and it worked fine but its showing error in colab:
----> 1 print(list(range(1, 100))) # Prints whole range of list
TypeError: 'list' object is not callable
I have tried to fix by changing name of variables that I given as ‘list’ but still not fixing.
You need to sign in to view this answers