Conditional operators in python is same as any other programming language. They are the conditional expressions used to give the output according to the condition in the expression.
example:
# Program to demonstrate conditional operator
a, b = 10, 20
# Copy value of a in min if a < b else copy b
min = a if a < b else b
print(min)