Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
fruits = ["apple", "banana", "cherry", "kiwi", "mango"] newlist = ['hello' for x in fruits] print(newlist)
['hello', 'hello', 'hello', 'hello', 'hello']