print ("Enter you list of numbers and use X to end it") number = input ('Enter a number:') number2 = input if number ('-inf'): while True: number = input ('Enter a number:')