Why does not raw_input () work for me? [duplicate]

0

In Python 3.6.2 in my Shell I put:

print ("Hola mundo")
raw_input()

I execute it and it sends me this error:

multiple statements found while compiling a single statement
    
asked by Sonia Aragon 02.10.2017 в 11:03
source

1 answer

0

What happens in python 3.x that function no longer has the same name. Now only "input" is used. Example:

  

number = input ("Enter a number:")

    
answered by 02.10.2017 / 11:21
source