def f(x):
    
    return 2*x-1

oldlist = [1, 2, 3, 4]    

newlist = list(map(f,oldlist))

print(newlist)