Hi there,
May I know why the range() function doesn’t work in #308-1 ?
Screen Link:
Learn To Measure Variability | Dataquest
My Code:
for year in range(min(houses['Yr Sold']), max(houses['Yr Sold'])):
print (year)
What I expected to happen:
2006
2007
2008
2009
2010
What actually happened:
TypeError: range() takes 1 positional argument but 2 were given
I also tried the range examples in Built-in Types — Python 3.9.7 documentation, all of them don’t work at the same time.