+1 vote
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

2 Answers

0 votes
by (46.1k 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 (107k 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:-

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !