Oct-24-2020, 01:31 PM
I would like to define a variable using an if statement, for example:
Thank you
a=0 b=1 if a = 0: c = b else: c = aI know the above does not work, but is there a way of defining 'c' with an if statement or something similar?
Thank you