Created
October 11, 2021 04:13
-
-
Save ycui1/bd9d382031e6f1f7708149725d88a0c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> import time | |
>>> def login_user(): | |
... time.sleep(2) | |
... | |
>>> def load_posts(): | |
... time.sleep(3) | |
... | |
>>> def launch_app(): | |
... print("Open App:", time.asctime()) | |
... login_user() | |
... load_posts() | |
... print("App Page Loaded:", time.asctime()) | |
... | |
>>> launch_app() | |
Open App: Sun Oct 10 23:13:07 2021 | |
App Page Loaded: Sun Oct 10 23:13:12 2021 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment