Skip to content

Instantly share code, notes, and snippets.

@chermehdi
Created December 6, 2020 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chermehdi/c2d5ca3d487027301de63cc49c635d2f to your computer and use it in GitHub Desktop.
Save chermehdi/c2d5ca3d487027301de63cc49c635d2f to your computer and use it in GitHub Desktop.
# A program that reads input from filename
# And prints output to stdout
with open("filename.in", "r") as f:
a, b = map(int, f.readline().split())
print(a * b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment