Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
6 views
in Python by (2.6k points)
edited by

I want to freeze the dos pop-up, I already tried raw-input as mentioned in my study material of Python 2.6 and currently I am working on Python 3.1, How can I fix it? I am using this syntax:

import sys
print(sys.platform)
print(3**200)
raw_input()

2 Answers

0 votes
by (46k points)

In Python 3 they renamed raw_input() by input(), For more new stuff they changed or edited in Python 3 click here.

Happy Learning, Cheers.....!!

0 votes
by (106k points)
edited by

Actually, with the release of Python 3, there are many things changed such as print() becomes a function in Python 3 which was just a simple statement in Python 2 same happens with raw_input() it got replaced by input() so, you just need input() not raw_input().

You can use the following video tutorials to clear all your doubts:-

If you are looking for upskilling yourself in python you can join our Python Training and learn from the industry expert.

Related questions

Browse Categories

...