Home > other > Pure white for help: the py files directly into run CMD, prompt syntax error unicode error unicodees
Pure white for help: the py files directly into run CMD, prompt syntax error unicode error unicodees
Time:12-02
Problem a: As shown in figure, the backslash to slash, Can only understand grammatical errors, but running in the python shell is ok
The code in this: Chance_num=0 Temp=input (' guess Numbers:) Guess=int (temp) While chance_num & lt; 3: If guess & lt; 6: Temp=input (" small small:) Guess=int (temp) The else: If guess & gt; 6: Temp=input (" big big:) Guess=int (temp) If guess==6: Print (" very clever ") Break
Chance_num +=1
If chance_num==3: Print (' your opportunity has been used up ') Print (' game over ') Input ()
Problem two: think excuse me this code in the notepad, run directly enter the CMD display garbled, hint I press any key to continue after the direct flash back what reason be?