Its a random thought. I want to take an input and print the next statement on the same line of input, eg:
Enter you value: 5 _ you have entered the value 5
The code can be something like this:
a = input("Enter you value: ", end='\t')
print("you entered the value" ,a)
The problem is input doesn't have the 'end' parameter and always shifts you to the next line. Is there any way to achieve this (using backspace escape sequence perhaps)?
Again the output I expect is:
- Enter you value:
- Enter you value: 5
- Enter you value: 5 _ you have entered the value 5