| about | help | done | prefs | create account |
Python > Warmup-1 > front_back
prev | next | chance
| Given a string, return a new string where the first and last chars have been exchanged.
front_back('code') → 'eodc' front_back('a') → 'a' front_back('ab') → 'ba' ...Save, Compile, Run See also Python Example Code. Python help docs: Python Strings | Python Lists | Python If Boolean |
Forget It! -- delete my code for this problem
New just for fun
Random User Progress Graphs
Random Epic Graphs
133.0
Copyright Nick Parlante 2006-11 - privacy