Yes, loops (for and while) can have an else block — and it only runs if the loop doesn’t exit via break
You can dynamically assign attributes to functions, just like objects.
– In the REPL (like python or ipython), _ holds the last result. – You can use _ as a throwaway variable in loops or unpacking: