Practice: Lists

Time to practice Lists and write a code on it

💡 This exercise will put everything into action you have learned so far about Lists.

💡 Write a code below

Task: Write a program to create a list of names of your friends



Type code below in textbox

Coding box below - Click in box and type text here! ⬇️ ⬇️

Output:

                    
Click to Reveal Solution
friends = ["john cena", "Roman Reigns", "Rock", "Randy Orton"]
print(friends)