Lỗi Python khi chạy trên Powershell

https://learnpythonthehardway.org/python3/ex3.html

Mình học theo bài này thì dù có copy code rồi chạy bằng Powershell vẫn bị lỗi

At line:12 char:13
+ print(3 + 2 < 5 - 7)
+             ~
The '<' operator is reserved for future use.
At line:12 char:17
+ print(3 + 2 < 5 - 7)
+                 ~
Unexpected token '-' in expression or statement.
At line:12 char:12
+ print(3 + 2 < 5 - 7)
+            ~
Missing closing ')' in expression.
At line:12 char:20
+ print(3 + 2 < 5 - 7)
+                    ~
Unexpected token ')' in expression or statement.
At line:22 char:39
+ print("Is it greater or equal?", 5 >= -2)
+                                       ~~
Unexpected token '-2' in expression or statement.
At line:22 char:38
+ print("Is it greater or equal?", 5 >= -2)
+                                      ~
Missing closing ')' in expression.
At line:22 char:41
+ print("Is it greater or equal?", 5 >= -2)
+                                         ~
Unexpected token ')' in expression or statement.
At line:23 char:33
+ print("Is it less or equal?", 5 <= -2)
+                                 ~
The '<' operator is reserved for future use.
At line:23 char:36
+ print("Is it less or equal?", 5 <= -2)
+                                    ~~
Unexpected token '-2' in expression or statement.
At line:23 char:32
+ print("Is it less or equal?", 5 <= -2)
+                                ~
Missing closing ')' in expression.
Not all parse errors were reported.  Correct the reported errors and try again.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : RedirectionNotSupported

vì sao vậy ạ ?

Python ở máy bạn là python 2 hay python 3?

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?