Last active
December 9, 2024 23:02
-
-
Save copocaneta/2de43f55f9c0926aa5ce37731146ae08 to your computer and use it in GitHub Desktop.
Improve this code by eliminating duplication
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
# Repetitive code without functions | |
print("Processing data for client A") | |
# ... specific processing for client A ... | |
print("Saving results for client A") | |
print("Processing data for client B") | |
# ... specific processing for client B ... | |
print("Saving results for client B") | |
print("Processing data for client C") | |
# ... specific processing for client C ... | |
print("Saving results for client C") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment