What's raw input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What's raw input?

9th Sep 2016, 8:48 PM
Narek
5 Answers
+ 2
raw_input() has been renamed as input() in Python 3.x. You use it to get input from the user.
9th Sep 2016, 10:29 PM
Zen
Zen - avatar
+ 1
hey there raw_input() is nothing else but just input () used in older versions of language python 2.7 or something like that
10th Sep 2016, 5:26 PM
Kartik
0
raw_input function is used when program needs to get input values from the user.... It returns the value as a string....
10th Sep 2016, 6:36 AM
khushboo kotadia
khushboo kotadia - avatar
0
Silly
10th Sep 2016, 6:58 AM
hermans
hermans - avatar
- 1
I think it's a function that does the same as input. But I saw it used in Python 2.7 if I remember well. It might be an "old function". Not sure, I am.
9th Sep 2016, 10:22 PM
Jérémy
Jérémy - avatar