return eval(input(prompt))
if __name__ == '__main__':
    pass
How to put text in input line: how to ask for user input on the command line while providing a 'default' answer that the user can edit or delete?