I have tried a lot to run raw_input("") on the python console but that gives an error. Moreover I watch some videos that might have been made on old python. so input("") is the only method and why raw_input("") is discarded in the new version is there any reason ?
I have tried a lot to run raw_input() on the python console but that
Share
raw_input()was renamed toinput()in Python v3.xThe old
input()is gone, but you can emulate it witheval(input())What’s new in Python 3 will mention this (and more):