Hi,
A simple question I think.
I want to create a function that updates variables if a certain condition is met.
For example
def main():
c=d=e=0
if c[1] == 0:
c=c+1
d=d+1
e=e+1
I want to create a function that adds the 1 to c,d,e automatically.
def BB(c,d,e)
Add 1 to c
Add 1 to d
Add 1 to e
Any help is appreciated.
macca111