+ 2

I wrote this program and i cant find the error's cause. Can you tell me how to make it work?

https://code.sololearn.com/c59B5J6Iz5IZ/?ref=app

3rd Feb 2019, 1:23 PM
Kosar Forghani
6 Réponses
+ 3
1. There are some indentation errors. You should use a single Tab instead of 2 to create for loops. 2. You should use if instead of elif. 3. It appears that you cannot use the matplotlib module on Sololearn, as it raises a ModuleNotFound error. There some modules that aren't available in Sololearn, such as tkinter and turtle. Matplotlib is probably included in this category😐.
3rd Feb 2019, 1:26 PM
giannismach
giannismach - avatar
+ 2
If it depends a lot on matplotlib a lot, then you'll have done trouble making it work
3rd Feb 2019, 2:13 PM
Eragon1980
Eragon1980 - avatar
+ 1
Is there anyway to fix the problem and make it work?
3rd Feb 2019, 1:35 PM
Kosar Forghani
+ 1
Lucky Luke thanks a lot
3rd Feb 2019, 2:48 PM
Kosar Forghani
0
Kosar Forghani Unfortunately, there is no way to use matplotlib, as it is a Sololearn issue🙁. You can try completing your project without matplotlib. If this is impossible, just keep coding to create something new😀! Here is your code with the first 2 issues corrected. You can see for yourself the error that appears. https://code.sololearn.com/cQ5PmOI9U3Aw/?ref=app
3rd Feb 2019, 2:39 PM
giannismach
giannismach - avatar
0
Kosar Forghani You 're welcome!
3rd Feb 2019, 2:49 PM
giannismach
giannismach - avatar