+ 1

How can i make a function in Python 3 - similar to raw_input functin in Python2- that allows me to enter a value and then use?

raw_input

22nd Mar 2017, 1:29 PM
Abuobida Abdalkarim Mohammed Yousif
Abuobida Abdalkarim  Mohammed Yousif - avatar
2 Answers
+ 8
use 'input' a = input ("Type something": ) print(a) #prints out a string
22nd Mar 2017, 4:07 PM
LayB
LayB - avatar
+ 1
Thanks a lot 




24th Mar 2017, 11:46 AM
Abuobida Abdalkarim Mohammed Yousif
Abuobida Abdalkarim  Mohammed Yousif - avatar