id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

gaurav1780@gmail.com 04_lists > tay_tay_tix
prev  |  next  |  chance

Taylor Swift is coming to Australia (Eeeeeeeee!!!) and has concerts in Sydney and Melbourne. The ticket prices are stored in a list named tayTay. Define a function that when passed this list, returns the average price of the tickets.


tay_tay_tix([10, 21]) → 15.5
tay_tay_tix([70, 80, 90, 101]) → 85.25

...Save, Compile, Run (ctrl-enter)

def tay_tay_tix(tay_tay):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 3 Post-solution available

Copyright Nick Parlante 2017 - privacy