Created
September 30, 2017 19:02
-
-
Save codyhex/d171546e81c6f4c30320f1f0f4c2371e to your computer and use it in GitHub Desktop.
Getting a line input and strip off the heading and tailing spaces.
This file contains hidden or 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
| #!/bin/python3 | |
| import sys | |
| if __name__ == "__main__": | |
| n = int(input().strip()) | |
| m = int(input().strip()) | |
| for a0 in range(m): | |
| x, y, w = input().strip().split(' ') | |
| x, y, w = [int(x), int(y), int(w)] | |
| # Write Your Code Here | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment