Doublez tous les nombres à l'aide d'une fonction map () et lamda

# welcome to softhunt.net
# Double all numbers using map and lambda
num = (10, 20, 30, 40)
ans = map(lambda x: x + x, num)
print(list(ans))
Outrageous Ostrich