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


String-1 > make_out_word
prev  |  next  |  chance

Given an "out" string length 4, such as "<<>>", and a word, return a new string where the word is in the middle of the out string, e.g. "<<word>>".

make_out_word('<<>>', 'Yay') → '<<Yay>>'
make_out_word('<<>>', 'WooHoo') → '<<WooHoo>>'
make_out_word('[[]]', 'word') → '[[word]]'

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

def make_out_word(out, word):

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: 112.0

Copyright Nick Parlante 2017 - privacy