Challenge: Type Detective

Lab Python Beginner 10 points

Read one line of text and print three things about it:

  1. The text itself
  2. How many characters it has
  3. The text repeated twice, joined by a dash -

Input

One line of text.

Output

Three lines. For hi the output is hi, 2, hi-hi.

Example

Input

hi

Output

hi
2
hi-hi
Sample input available Sample output available
Editor
Python

Hints

len() counts characters, including spaces.

Join strings with +.

Solution explanation

len(text) counts the characters and text + "-" + text joins three strings.

Show solution
text = input()
print(text)
print(len(text))
print(text + "-" + text)
Output
Answer
HOME LEARN COMMUNITY DASHBOARD