Initial commit

This commit is contained in:
Arjun Patel
2019-02-20 15:09:59 -08:00
commit 6577e0cbea
59 changed files with 2480 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# This is what a comment looks like
fruits = ['apples', 'oranges', 'pears', 'bananas']
for fruit in fruits:
print(fruit + ' for sale')
fruitPrices = {'apples': 2.00, 'oranges': 1.50, 'pears': 1.75}
for fruit, price in fruitPrices.items():
if price < 2.00:
print('%s cost %f a pound' % (fruit, price))
else:
print(fruit + ' are too expensive!')