4th day of python challenges 69-77
This commit is contained in:
5
challenges69-79/challenge-074.py
Normal file
5
challenges69-79/challenge-074.py
Normal file
@@ -0,0 +1,5 @@
|
||||
colors_list = ['red', 'yellow', 'blur', 'orange', 'purple', 'black', 'brown', 'green', 'sky', 'gray']
|
||||
print(colors_list)
|
||||
start = int(input('Enter number between 0-4 : '))
|
||||
end = int(input('Enter number between 5-9 : '))
|
||||
print(colors_list[start:end])
|
Reference in New Issue
Block a user