-
Generators: Iterate Without the Wait
- When dealing with large data streams, generators are your best friends.
-
Qubits are special because they can be both 0 and 1 at the same time. It’s like having a coin that’s spinning and showing both heads and tails until you catch it, and then it picks one side.
-
Classes and import
- When you call out to your friend (for example your coworker) in the office, that guy is going to hear (if within your reach) and respond/come to you. However, for your boss, they tend to generally have an office with a closed door. You have to go knock on that door to actually reach out to him. That’s what you’re doing when you’re reaching out that function/file