Can you make it so that your program puts the text first then ask for input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can you make it so that your program puts the text first then ask for input?

18th Dec 2016, 7:51 PM
smartguy100
smartguy100 - avatar
2 Answers
+ 5
example: python 2.x: raw_input('Text that console will prompt.') python 3.x input('Text that console will prompt.') In Python 3.x. raw_input was removed because: The difference is that raw_input can handle code commands and that makes it vulnerable while input only handles alphanumeric characters and symbols. However as the others stated, this cannot be done through here. Qpython - is free and a tiny program for your Android device to do this on. personally I use PyDroid. I hope this helped you on your quest. Dr.
19th Dec 2016, 2:05 AM
Tristan McCullen
Tristan McCullen - avatar
+ 2
Of course you can, but not here on SoloLearn.
18th Dec 2016, 7:53 PM
Uran Kajtazaj
Uran Kajtazaj - avatar