python主函数错误
def main():
a=raw_input("please enter a odd :")
b=int(a)
if b%2==1:
prin(b)
if _name_==_main_:
main()
出现这样的错误:
Traceback (most recent call last):
File "C:\Users\chen\Desktop\STAR.py", line 13, in <module>
if _name_==_main_:
NameError: name '_name_' is not defined