Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Quiz
3. Question 2
Summary

Instruction

Good job! Another question now.

Exercise

Write a Python program that asks the user for a string:

Please provide a string: 

On a new line, print a new string that contains the first three and the last three characters of the input string. If the user's string is shorter than six characters, print NOT ENOUGH CHARACTERS.

Stuck? Here's a hint!

Use string slicing: [:3] and [-3:].