initial creation
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""Basic sorting example"""
|
||||
|
||||
fruit = ["pomegranate", "cherry", "apricot", "date", "Apple", "lemon", "Kiwi",
|
||||
"ORANGE", "lime", "Watermelon", "guava", "papaya", "FIG", "pear", "banana",
|
||||
"Tamarind", "persimmon", "elderberry", "peach", "BLUEberry", "lychee",
|
||||
"grape"]
|
||||
|
||||
sorted_fruit = sorted(fruit) # <1>
|
||||
|
||||
print(sorted_fruit)
|
||||
Reference in New Issue
Block a user