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

 

david.white@denison.edu cs111fall2019 > username
prev  |  next  |  chance

Write a function username(first, last) that returns his or her username, specifi ed as the last name followed by an underscore and the fi rst initial. For example, username('martin', 'freeman') should return the string 'freeman_m'.


username('David', 'White') → 'White_D'
username('Joe', 'smith') → 'smith_J'
username('Sally Ann', 'Field') → 'Field_S'

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

def username(first, last):

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