Take Multiple Input In Python Using Global Variables