1

I see that error when i want to debug my python file:

C:\py>python optr_assigment.py<br>
**Traceback (most recent call last):<br>
  File "optr_assigment.py", line 43, in <module><br>
    aplikasi = DemoOperator()<br>
  File "optr_assigment.py", line 8, in __in<br>
    x = raw_input("Masukkan nilai x: ")<br>
NameError: name 'raw_input' is not defined**

enter image description here

0

1 Answer 1

0

Python 3 changed raw_input to input.

How do I use raw_input in Python 3

Sign up to request clarification or add additional context in comments.

1 Comment

thanks alexce and Dan Lowe :) for solved my problem

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.