Set A Python Indent In Anaconda
So I've got a problem. I installed Anaconda with Python 3.5.2 and when I go for cmd>python then interpreter is on, and then when I try: for i in range(10): print(i) Then a
Solution 1:
for i in range(10):press Enter ... print(i)--- between last dot and p, insert three spaces and hit Enter. In the next line there will be three dots and the (blinking) cursor is one space after the last dot.
Press enter and you see the output
This was in Windows 10 Insiders Preview Build 17127.rs4_release and Python 3.6.2
Solution 2:
It looks like the tab key performs a different function indentation. It is mapped to "redisplay". I think you'll either have to change the config to allow tab indentation or use spaces.
Post a Comment for "Set A Python Indent In Anaconda"