When i am tying to take user input in python then it is taking input in next line but I want ti to take input in same line. How to achieve that?
I am taking input like this
print("Enter your name:",end=" ")
It is showing on console as
Enter your name:
Ankit
but I want it as
Enter your name:Ankit