Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (7.3k points)

What is the difference between raw_input() and input() in python 3.x ?

1 Answer

0 votes
by (106k points)

The difference between raw_input() and input() in python 3.x is as follows:-

The first thing the raw_input() does not exist in Python 3.x, instead of raw_input() python 3.x has input(). The raw_input() was there in Python 2.x version after the release if Python 3.x it has been renamed to input(), and the old raw_input() is gone.

Related questions

Browse Categories

...