Skip to content

Instantly share code, notes, and snippets.

@byxor
Created January 20, 2017 11:07
Show Gist options
  • Save byxor/1c9e0042ed685776462ea6b121bd9e63 to your computer and use it in GitHub Desktop.
Save byxor/1c9e0042ed685776462ea6b121bd9e63 to your computer and use it in GitHub Desktop.
Write a python program called p0.py that takes two positive integers and outputs their product.
Sample input:
1
2
Sample output:
2
You can run it like this:
python p0.py < your_test_input.txt
You should see the output:
2
your_test_input.txt looks like this:
1
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment