Posts by Brunno Silva • 1 point
1 post
-
-4
votes1
answer102
viewsQ: Python. I cannot return an if statement within a function
def func(x=1, y=3): if x == y: return "Igualdade." else: return "Desigualdade." if x > y or x < y: return True if True == x > y: return x else: return y if x < y: return (y - x) == c if…
pythonasked Brunno Silva 1