A library to check time and space complexity of a program (See Big O Notation). import profile profile.run('print("hello")')