Created
May 22, 2024 07:26
-
-
Save 2tony2/6553d38d48d07c8e6309584ead39bbec to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| from typing import Any | |
| def process_item(item: Any) -> None: | |
| print(f"Processing item: {item}") | |
| # Usage examples | |
| process_item(123) # Processing an integer | |
| process_item("Hello") # Processing a string | |
| process_item([1, 2, 3]) # Processing a list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment