While using the input() function I want to take or receive a string from the user to a variable. So is it possible to input inside square brackets instead of plain text? For example;
a = input("-->")
this shows the output like this:
-->
but instead can I have the output like this:
--> [ _ ]
and take the input inside the square bracket. (_ represents the cursor.)