'I'm having problem with same code on different Jupyter notebook, one note runs the code with out any error in one it throws an error -->TypeError: 'range' object is not callable
Output i got with a notebook: [10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
In other notebook: TypeError Traceback (most recent call last) in ----> 2 list_1 = list(range_1)
TypeError: 'range' object is not callable'
Can anyone help me out with this?
range_1 = range(10,20)
list_1 = list(range_1)
print(list_1)