Q:

Write a Python program to print a nested lists (each list on a new line) using the print() function

0

 Write a Python program to print a nested lists (each list on a new line) using the print() function.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

colors = [['Red'], ['Green'], ['Black']]
print('\n'.join([str(lst) for lst in colors]))

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now