I know w3schools has a really bad reputation, and that it's mostly good for vague memory refreshing tips you need in a moment, but I was looking at their Python stuff, and I found 2 errors, one of them could be just confusing for people learning if they're not careful.
https://www.w3schools.com/python/python_dictionaries_remove.asp
So in one of their exercises the correct answer is supposedly this:
View attachment 6712519
But that's not correct I think, they mean this (with square brackets):
del myvar['color']
There's also another one, where you expect the output to be accurate once entering their example page, because that was seemingly the case for every other instance, except in here, where you need to manually "Run" it yourself because for some reason the inital output is wrong.
https://www.w3schools.com/python/ref_set_difference.asp
View attachment 6712527