# Allison Obourn
# CS 115, Autumn 2021
# Lecture 30

# This program reads in gas price data from a file named gasprices.txt
# that is in the same folder as this program. Assumes that the file has
# three values per line - a Belgian gas price, a US gas price and a date.
# Prints out all the data in the file as an array with each price and date
# as an individual element.

# NOTE: we will finish this tomorrow

def main():
    file = open("gasprices.txt")
    data = file.read() # 8.20 3.20 11/23/2020 9.50 3.20 11/34/2021
    data = data.split()
    print(data)

main()
