Answers for "write a python program to display the first and last colors from a list"

0

write a python program to display the first and last colors from a list

color_list = ["Red","Green","White" ,"Black"]
print( "%s %s"%(color_list[0],color_list[-1]))
Posted by: Guest on March-04-2021

Code answers related to "write a python program to display the first and last colors from a list"

Python Answers by Framework

Browse Popular Code Answers by Language