-
-
Save stephengruppetta/f27e5c4be8452a81d951d057e0e9898f 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 functools | |
import random | |
bizarre_print = functools.partial( | |
print, | |
"Here is a random number", | |
random.randint(0, 100), | |
sep=" • | • ", | |
end=" <THE END>\n", | |
) | |
bizarre_print("Hello", "Let's try this out") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment