logo CodeStepByStep logo

start_end_same

Language/Type: Python boolean logic string

Using "Boolean Zen," write an improved version of the following function, which returns whether the given string starts and ends with the same character.

Function: Write a Python function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.