Posts by Gabryelle Soares • 11 points
1 post
-
1
votes1
answer677
viewsQ: Is using "if/Elif/Else" with Return good programming practice?
Ex.: return (sum*2 if a == b else sum)
pythonasked Gabryelle Soares 11
1 post
1
votes1
answer677
viewsEx.: return (sum*2 if a == b else sum)