RIFT.io interview question

1. Python library functions