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

 

rmueller@lasacs.com > berlinWall0
prev  |  next  |  chance

Complete the berlinWall0 function, so that given a year as a parameter, the function returns how many years it will have been at the end of the given year since the fall of the berlin wall. The given year will always be 1989 or greater. (NOTE: The Berlin wall fell November 9, 1989).


berlinWall0(2001) → 12
berlinWall0(1990) → 1
berlinWall0(1989) → 0

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

def berlinWall0(year):

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