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

 

getUserId


Create a function that creates a user id, where the user id is made up of the first letter of the first name and the entire last name. e.g. jane smith -> jsmith


getUserId('anita', 'roddick') → 'aroddick'
getUserId('faith', 'popcorn') → 'fpopcorn'
getUserId('marissa', 'mayer') → 'mmayer'

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

def getUserId(firstName,lastName):

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