Released #Python#Debugging lessons for beginners. Practice fixing common mistakes, SyntaxError, NameError, etc. Free for a few days. https://t.co/n9QA4o0zul
@PhDemetri They'll need to know the fundamentals. I'd recommend looking at some beginner books' and courses' contents to enumerate everything, e.g., https://t.co/SaqNNloTEI - and less obviously, they'll need to be able to debug at least a little (understand error messages etc.)
@the_coding_tips Remember that sets are unordered, so the result will not have the order of the original list. You can also use a list comprehension: [item for item in list_a if item not in list_b]. Cast list_b to a set and it'll run faster since sets have constant-time lookup.
@BagHolder1 It has to do with how floating-point numbers are represented at a low level inside your machine. See for example https://t.co/kImtIxI2xs for a partial explanation and https://t.co/oluL04uTGw for more info.
Protip for #python beginners: if you don't know how to start solving a coding exercise, write pseudocode first. Here's a post with an example: https://t.co/tnKFAGX1D0