Changed to use the fact that str(long) doesn't produce a trailing L

Reindented
This commit is contained in:
Moshe Zadka 2001-02-20 16:13:43 +00:00
parent 754ba589b7
commit 38e083bcc9
1 changed files with 16 additions and 16 deletions

View File

@ -25,8 +25,8 @@ def main():
def output(d): def output(d):
# Use write() to avoid spaces between the digits # Use write() to avoid spaces between the digits
# Use int(d) to avoid a trailing L after each digit # Use str() to avoid the 'L'
sys.stdout.write(`int(d)`) sys.stdout.write(str(d))
# Flush so the output is seen immediately # Flush so the output is seen immediately
sys.stdout.flush() sys.stdout.flush()