Blog

What is the output of the code below?

time = [“Morning”, “Afternoon”, “Night”]
func = lambda x: f”Good {x}”
list = list(map(func, time))
print(list)