有没有办法在 python 中打印 not bool?

is there a way to print not bool in python?

`a=780
 b=90
 if (a>b):
  print(a>b)`
  1. 我不想打印布尔值
  2. 我只想打印 (a) and print(>) and print(b)

`*** 感谢您的帮助

您可以使用 print(a,' > ',b)。请看https://www.w3schools.com/python/gloss_python_string_concatenation.asp.