Integrating a python code with kotlin

try check this out for that solution Kotlin and Python