KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
For the following sample: def fuctionName(i: int, b: bool): if i in range(...): if b == True: return False else: return True Is there any way to skip the second if-statement? Just to tell the computer to return the opposite of the boolean b ?
Tags (comma-separated)
Save Edits
Cancel