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

1 Answers1

0

Python 3 changed raw_input to input.

How do I use raw_input in Python 3

Community
  • 1
  • 1
Dan Lowe
  • 51,713
  • 20
  • 123
  • 112