You can run the file in vscode and pycharm. if you want to run the file. you have to install kivy. Here's how you can do this:
pip install kivy
Output of the file is like this:
After giving some length, the output will generate like this:
Giving some other length: