Home > OS >  including functions as a element in an if condition
including functions as a element in an if condition

Time:03-29

can a function be used in an if condition like a normal variable during the initiation of an 'if' function? I tried this in my program which didn't work.

def choices(): choice = input('Choose which path to take out... Think carefully

  • Related