'is there a way to print not bool in python?

`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



Solution 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jesse