用户输入矩形的长度和宽度(我的第一个模块),然后程序计算矩形的面积(第二个模块),最后在计算两个区域之间的差值后,显示结果,告诉哪个是较大的。但是,输入长度和宽度后,程序将显示一条错误消息,告知我的模块未定义为:我的守则:#Python 3.4.3
#Module that asks width and lenght of the
python3 sample.py File "sample.py", line 3, in <module>ModuleNotFoundError: No module named 'mysql'
我已经安装了python3-mysql.connectorsudo apt-get -y install