+ 9

brython

my code says brython was not define.help me fix it https://code.sololearn.com/WpI1KLqcRPaD/?ref=app

3rd Oct 2020, 8:34 PM
???
??? - avatar
15 Answers
3rd Oct 2020, 8:48 PM
???
??? - avatar
+ 6
Mirielle[ InAcTiVe ] ma is it the script type? ive add the"=" also this doesnt work https://code.sololearn.com/WM03vuU5Rusr/?ref=app
3rd Oct 2020, 8:45 PM
???
??? - avatar
+ 5
i did that early Abhay but it didnt work,and the code you shared have the same issue.brython not defined
3rd Oct 2020, 9:46 PM
???
??? - avatar
+ 5
Bilbo Baggins ,Abhay , Mirielle[ InAcTiVe ] ,pls help me edit the code and check if it will run then share the link here
4th Oct 2020, 3:42 PM
???
??? - avatar
+ 5
pardon me where did you run the code Bilbo Baggins. because mine says brython is not defined.dont get angry pls
4th Oct 2020, 3:46 PM
???
??? - avatar
+ 5
sir im stuff out with variables such as null,html e.t.c "undefined".couldnt work and precisely network is available here. it shows on console brython is not define Bilbo Baggins
4th Oct 2020, 4:16 PM
???
??? - avatar
+ 4
Not angry, really! I run it on Android... I think your problem is Internet, maybe... Try this one (python code separated from HTML) https://code.sololearn.com/WBob3omfbuUX/?ref=app
4th Oct 2020, 4:09 PM
Bilbo Baggins
Bilbo Baggins - avatar
+ 3
https://code.sololearn.com/W13wXDB4wO5h/?ref=app You need to add //</script><script type="text/python"> If you are using js file to write python or , <script type="text/python></script> when working in html
3rd Oct 2020, 9:31 PM
Abhay
Abhay - avatar
+ 3
anshiude works fine for me ,
3rd Oct 2020, 9:49 PM
Abhay
Abhay - avatar
+ 3
anshiude, you need to make two changes to your code: (1) at your line 5: change the brython provider, and the way you invoke it (2) at your line 11: change how you are declaring the script Here it is: https://code.sololearn.com/W3G62CTukXb2/?ref=app
4th Oct 2020, 1:14 PM
Bilbo Baggins
Bilbo Baggins - avatar
+ 3
Well, I think I already shared your edited code... what else do you need?
4th Oct 2020, 3:45 PM
Bilbo Baggins
Bilbo Baggins - avatar
+ 3
Really sorry! I cannot reproduce your problem, neither on Android (tested sololearn app) neither on Windows 10 (tested web interface)đŸ€·
4th Oct 2020, 5:52 PM
Bilbo Baggins
Bilbo Baggins - avatar
10th Oct 2020, 9:03 PM
???
??? - avatar