How To Take Dynamic List Input In Python W3schools