Created
November 12, 2022 13:49
-
-
Save elPytel/57042807108312ce4c3063b84cc0a1bc to your computer and use it in GitHub Desktop.
C like printf in Python
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
#!/usr/bin/python3 | |
import sys | |
def printf(format, *args): | |
sys.stdout.write(format % args) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment