Here is my code.
编辑:我确实找到了一个可以正常工作的替代代码,但是我仍然不明白为什么第一个代码不工作, here is the alternative.
a = 5 b = 2 if a < b: print("a is less than b") else: print:("a is NOT less than b") print ("test")