+ 4
Is there a function in python similar to prompt function in javascript?
5 odpowiedzi
+ 5
😂😂
+ 5
describing the input in the input D'Lite
+ 4
thanks a lot HonFu
+ 3
input()
+ 2
You have no GUI in basic Python, here on Sololearn not even real interactivity, so there are no popup windows.
input, with its limitations, comes closest, because it asks for user input, which is the point.
You can add a prompt line, if you like (I usually don't):
inp = input('What's your name? ')
(The prompt thingy somehow also doesn't work as it should here on Sololearn.)