How to Use Python's Sleep Function Effectively