kode2go / python

Lessons on learning python programming.
0 stars 0 forks source link

Python Exercises: Q8 #8

Open kode2go opened 3 years ago

kode2go commented 3 years ago
  1. Write a Python program to display the first and last colors from the following list.
    color_list = ["Red","Green","White" ,"Black"]
kode2go commented 3 years ago
color_list = ["Red","Green","White" ,"Black"]
print(color_list[0])
print(color_list[3])