# Hard coded stock for testing CS50 Finance without using the API
# Useful for testing scenarios of pricing/formatting with certainty
def lookup(symbol):
if symbol == "AAAA":
return {"name": "Test A", "price": 28.00, "symbol": "AAAA"}
if symbol == "BBBB":
return {"name": "Test B", "price": 3.27, "symbol": "BBBB"}
if symbol == "CCCC":
return {"name": "Test C", "price": 35.30, "symbol": "CCCC"}
if symbol == "DDDD":
return {"name": "Test D", "price": 0.28, "symbol": "DDDD"}