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 print Nsmallest numbers
Write a Python Program To Find ASCII value of a character.
Write a Python Program to Display Fibonacci Sequence Using Recursion.
Write a Python Program to Find the Sum of Natural Numbers.
Write a python program to Find the index of the smallest number in the list