Files
courses/py3interm/pastable.py
T
2025-05-20 11:57:43 -04:00

100 lines
1.7 KiB
Python

#!/usr/bin/env python
# (c) 2017 John Strickler
#
fruits = [
"pomegranate",
"cherry",
"apricot",
"apple",
"lemon",
"kiwi",
"orange",
"lime",
"watermelon",
"guava",
"papaya",
"fig",
"pear",
"banana",
"tamarind",
"persimmon",
"elderberry",
"peach",
"blueberry",
"lychee",
"grape",
"date",
]
fruits = [
"pomegranate",
"cherry",
"apricot",
"Apple",
"lemon",
"Kiwi",
"ORANGE",
"lime",
"Watermelon",
"guava",
"Papaya",
"FIG",
"pear",
"banana",
"Tamarind",
"Persimmon",
"elderberry",
"peach",
"BLUEberry",
"lychee",
"GRAPE",
"date",
]
nums = [800, 80, 1000, 32, 255, 400, 5, 5000]
people = [
("Melinda", "Gates", "Gates Foundation", "1964-08-15"),
("Steve", "Jobs", "Apple", "1955-02-24"),
("Larry", "Wall", "Perl", "1954-09-27"),
("Paul", "Allen", "Microsoft", "1953-01-21"),
("Larry", "Ellison", "Oracle", "1944-08-17"),
("Bill", "Gates", "Microsoft", "1955-10-28"),
("Mark", "Zuckerberg", "Facebook", "1984-05-14"),
("Sergey", "Brin", "Google", "1973-08-21"),
("Larry", "Page", "Google", "1973-03-26"),
("Linus", "Torvalds", "Linux", "1969-12-28"),
]
airports = {
"EWR": "Newark",
"YYZ": "Toronto",
"MCI": "Kansas City",
"SFO": "San Francisco",
"RDU": "Raleigh-Durham",
"SJC": "San Jose",
"MCO": "Orlando",
"YCC": "Calgary",
"ABQ": "Albuquerque",
"OAK": "Oakland",
"SMF": "Sacramento",
"YOW": "Ottawa",
"IAD": "Dulles",
}
colors = [
"red",
"green",
"purple",
"orange",
"brown",
"black",
"olive",
"navy",
"white",
"black",
"pink",
"chartreuse",
]