I am trying to print the conditions that I have given in text format instead of printing the final value of conditions. Below is the sample code for better explanation.
a = 5
b = 10
condition = a>b and a+b<10
if condition:
print"successful"
else:
print"unsuccessful"
print("The conditions applied was",condition)
Here I want the system to print "a>b and a+b<10"
but it prints "False"
because the final value of condition is False