Ask the user to enter a line length in steps with input().
Use int() to turn the answer into a number.
Draw a horizontal line with that length.
The turtle starts in the middle and faces right.
The picture shows the result when the user enters 100.