+ 1

HOW TO ADD A DIALOGBOX LIKE SOMETHING, AFTER PRESSING RUN BUTTON IN PYTHON?

PLEASE TELL ME!!!

25th Dec 2020, 3:27 PM
Techman AK
Techman AK - avatar
2 Respuestas
+ 7
Techman AK , the sample presented by Slick is perfect if you run a code in a regular IDE. if you run it in playground, the prompt defined in input() will NOT be displayed when the execution starts. This is due to the behavior of playground, since all inputs has to be given in advance. the prompt will be displayed after the input is done.
25th Dec 2020, 4:04 PM
Lothar
Lothar - avatar
+ 2
color = input("What's your favorite color? : ") print("You like", color + '?',"Me too!")
25th Dec 2020, 3:36 PM
Slick
Slick - avatar