[Solved] calling a function with input [closed]


  1. Use True/False instead of true/false. You can consider True and False as somehow ‘keywords’ in Python.
  2. For Python scripts, you don’t use def main():. Instead, try using if __name__ == '__main__': under global scope. Look at this for more info.
  3. You have to print something out rather than just return a boolean variable, by using print build-in function.

solved calling a function with input [closed]