Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialjamalbacchus
Courses Plus Student 6,664 Pointsi'm having issues with the s2v4.py
from s2v3 import *
def find_average(data_sample, header=False): total = calculate_sum(data_sample) size = number_of_records(data_sample) average = total / size return average
average_price = find_average(data_from_csv, True) print("Average = ", average_price)
i'm getting an error:
from s2v3 import *
def find_average(data_sample, header=False): total = calculate_sum(data_sample) size = number_of_records(data_sample) average = total / size return average
average_price = find_average(data_from_csv, True) print("Average = ", average_price)
what I'm doing wrong?
please explain.
thanks, Jamal