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

 

burns@bxscience.edu > takeFive
prev  |  next  |  chance

This function counts by fives starting at zero a specified amount of times: Note that you must return a list of numbers and use the append function for lists. Hint: Investigate the append method for python Lists


takeFive(5) → [0, 5, 10, 15, 20]
takeFive(4) → [0, 5, 10, 15]
takeFive(3) → [0, 5, 10]

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

def takeFive(number):

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: 100

Copyright Nick Parlante 2017 - privacy