Last active
May 28, 2019 20:05
-
-
Save vedgar/6cec2f8af2aab0f5e2568d734c01b415 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
with open(input('izlazna datoteka: '), 'w') as izlaz: | |
for p in enumerate(open(input('ulazna datoteka: ')), 1): | |
print(*p, sep=': ', end='', file=izlaz) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment