What is the output of the following?print([i.lower() for i in "HELLO"])
What will be the output?names1 = ['Amir', 'Bala', 'Charlie']names2 = [name.lower() for name in names1] print(names2[2][0])
What is the output of the following?d = {0: 'a', 1: 'b', 2: 'c'}for x in d.values(): print(x)
What will be the output
d = {"john":40, "peter":45}["john"]