Skip to content

Instantly share code, notes, and snippets.

@Obayanju
Last active February 16, 2021 22:38
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 Obayanju/ebe0dcd87a419a6f052ff86606ae3765 to your computer and use it in GitHub Desktop.
Save Obayanju/ebe0dcd87a419a6f052ff86606ae3765 to your computer and use it in GitHub Desktop.
Useful for getting input in competitive programming questions.
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