Input textbox in the Playground for non web languages | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Input textbox in the Playground for non web languages

I've noticed that the textbox can be edited on programs of web using 'alert' in the JavaScript tab, but is it possible to do it using the non web languages such as Java or Python?

4th Sep 2017, 4:05 PM
Ziv
Ziv - avatar
3 Answers
+ 2
Nope. Sorry. The playground tries to emulate browser responses to your code. For Java or Python, you'd need to type up a graphical interface to override standard input methods. Then there, you'll find that it's more trouble than you want, as it'd be uncertain if that would work.
4th Sep 2017, 4:08 PM
ghostwalker13
ghostwalker13 - avatar
+ 1
Thanks @ghostwalker13 Maybe someone knows an algorithm for how to override it properly with minimum troubles and willing to share the ķnowledge :)
4th Sep 2017, 4:13 PM
Ziv
Ziv - avatar
+ 1
web
21st Feb 2020, 8:50 AM
Hung Pham
Hung Pham - avatar