I get this error when I try to figure out the low and high prices for my BeautifulSoup web scraper. I attached the code below. Shouldn\'t my list be a list of ints?
Your problem is the line:
intprices = intprices.sort()
The .sort() method on a list operates on the list in-place, and returns None. Just change it to:
.sort()
None
intprices.sort()