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

 

tj@tjleone.com > my_name
prev  |  next  |  chance

Write a Python function name_tag that takes as input the parameters first_name and last_name (strings) and returns a string of the form "My name is % %." where the percents are the strings first_name and last_name. Reference the test cases in the provided template for an exact description of the format of the returned string.


my_name('Luke', 'Skywalker') → 'My name is Luke Skywalker'
my_name('Princess', 'Leia') → 'My name is Princess Leia'
my_name('Han', 'Solo') → 'My name is Han Solo'

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

def my_name(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

Difficulty: 110

Copyright Nick Parlante 2017 - privacy