# Connect to Google Drive from google.colab import drive drive.mount("/content/gdrive") # Open and read the file file_content = open("/content/gdrive/MyDrive/datasets/house_prices.txt", "r").read() # Convert file lines to numbers prices = [] for line in file_content.strip().split('\n'): prices.append(float(line)) print(f"Loaded {len(prices)} house prices") print(f"First 5 prices: {prices[:5]}")