forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice > getRickRolled
prev  |  next  |  chance

For strings "let you down", "say goodbye", and "desert you", return the string "never gonna". For all other strings, return "always gonna".

getRickRolled('say goodbye') → 'never gonna'
getRickRolled('let you down') → 'never gonna'
getRickRolled('desert you') → 'never gonna'

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

def getRickRolled(msg):

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

Copyright Nick Parlante 2017 - privacy