def myfun(): colors_list = ["Red", "Green", "White", "Black"] print("%s %s" % (colors_list[0], colors_list[-1])) if __name__=="__main__": myfun()
Red Black
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Write a python program to sort list with sorted & lambda
Write a Python program to find the area of a triangle.
Write a Python program to remove duplicates from a list
Write a Python Program to Print the Fibonacci sequence.
Write a Python Program to Display the multiplication Table.