Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

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 :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading