Question : Input after all prompts in python
Wolfgang Maier
wolfgang.maier at biologie.uni-freiburg.de
Mon Jun 11 10:57:30 EDT 2018
On 06/11/2018 04:19 PM, mohan4h at gmail.com wrote:
>
> BTW i tried the code above, but i encountered a syntax error.
>
> print(u"\u001b[{}A".format(n), flush=True, end="")
> ^
> SyntaxError :invalid syntax
>
That's probably because you have been running it in Python2.
Most people here assume you mean Python3 nowadays if you say Python,
especially when you ask a beginner's question.
More information about the Python-list
mailing list