- Use True/False instead of true/false. You can consider True and False as somehow ‘keywords’ in Python.
- For Python scripts, you don’t use
def main():
. Instead, try usingif __name__ == '__main__':
under global scope. Look at this for more info. - 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]