Home > Net >  is there a way to print not bool in python?
is there a way to print not bool in python?

Time:04-14

`a=780
 b=90
 if (a>b):
  print(a>b)`
  1. I do not want to print boolean
  2. I just want to print (a) and print(>) and print(b)

`*** Thanks for your help

CodePudding user response:

You could use print(a,' > ',b). Please take a look at https://www.w3schools.com/python/gloss_python_string_concatenation.asp.

  • Related