color_list = ["Red","Green","White" ,"Black"]
color_list = ["Red","Green","White" ,"Black"]
print( "%s %s"%(color_list[0],color_list[-1]))
Output:
Red Black
color_list = ["Red","Green","White" ,"Black"]
color_list = ["Red","Green","White" ,"Black"]
print( "%s %s"%(color_list[0],color_list[-1]))
Output:
Red Black
Python Program to check if a string is palindrome or not
Python program for implementation of Bubble Sort
Python code to count the number of occurrences in list
Python Program to find the area of triangle
Python program which takes radius from user and print area
Write a program to add two numbers in python
Python Program to sort alphabetically the words form a string provided by the user
Python program to find the largest of three numbers
program to display the examination schedule
Return list by function in python
Write Hello World Program in Python