When i try to run this code in google colab it show module not found error. This was my code
import pyinputplus as pyip
response = pyip.inputNum('Enter num: ')
I think you may need to install PyInputPlus in your google colab. You can install in google colab using this !pip install PyInputPlus
. You need to add "!" before pip statment. That will help you to run terminal commands from your notebook
First, you have to install that module in google colab. By using:
pip install pyinputplus
Then, you can import it by:
import pyinputplus as pyip
And then, you will get result like this