在文件optr_assigment.py中进行Python编译器调试[复制](Debug at Python Compiler at file optr_assigment.py [duplicate])
这个问题在这里已经有了答案:
如何在Python 3 9答案中 使用raw_input我想调试我的python文件时看到错误:
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**
This question already has an answer here:
How do I use raw_input in Python 3 9 answersI 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**最满意答案
Python 3将raw_input更改为input 。
我如何在Python 3中使用raw_input
Python 3 changed raw_input to input.
How do I use raw_input in Python 3
更多推荐
发布评论