+ 1

What is the difference between raw_input() and input()?

11th Aug 2018, 11:57 AM
Martin Tembo
Martin Tembo - avatar
2 odpowiedzi
+ 6
"input()" is equivalent to "eval(raw_input())" in Python 2. Python 3 use "input()"
11th Aug 2018, 12:51 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 3
raw_input was used in Python 2 and input is used in python3
11th Aug 2018, 12:02 PM
👑 Ak-king 👑
👑 Ak-king 👑 - avatar