Gandakan semua angka menggunakan fungsi peta ()

# welcome to softhunt.net
def addition(a):
	return a + a

# We double all numbers using map()
num = (10, 20, 30, 40)
ans = map(addition, num)
print(list(ans))
Outrageous Ostrich