Sunday, April 01, 2018

Python indenting in Python 3.7 Shell (IDLE)

I am using Python Shell from Python 3.7 download from my previous post. The OS is Windows 10 Insiders' Preview 17127.rs4_release.180318-0047

Python 3.7.0b2 (v3.7.0b2:b0ef5c979b, Feb 28 2018, 01:32:48) [MSC v.1912 32 bit (Intel)] on win32
IDLE is Python’s Integrated Development and Learning Environment.

The Shell program has the Options menu where you can change several of settings including Indenting as shown here:

This is a code that threw an exception.

This is after correcting the indentation.

No comments: Protection Status