txt = input("Enter some text: ") dash = len(txt) * '-' print(txt) print(dash)