Program 001

mine1 car_sta='park' command=input('>') while command !='quit': if command == 'help': print(''' start - to start car stop - to stop car quit - to quit the game''') command=input('>') elif command=='stop'…

Python 001

在代码世界中,赋值符号=不是左边等于右边的意思。仅仅表示赋值动作:把右边的内容放到了左边的盒子中。代表左右两边相等的符号,是比较运算符== print(''' へ     /|   /\7    ∠_/   / │   / /  │ Z _,< /   /ヽ │     ヽ   /  〉 Y       /  /  イ● 、 ●  ⊂⊃〈  /  ()  へ    | \〈   >ー 、_  ィ  │ //   / へ   / ノ<| \\   ヽノ  (/ …