# IDLE as command prompt shell # filter #numeric filter. Type or paste in one line of numbers: print([10-x for x in list(map(eval,input("input a line of numbers").split()))]) #without a prompt print([10-x for x in list(map(eval,input().split()))]) #how to get a function or multiple lines ?