Last active
February 16, 2021 22:38
-
-
Save Obayanju/ebe0dcd87a419a6f052ff86606ae3765 to your computer and use it in GitHub Desktop.
Useful for getting input in competitive programming questions.
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
def getInt(): | |
return int(input()) | |
def getListOfInts(): | |
return list(map(int, input().split(' '))) | |
def main(): | |
t = getInt() | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment