+ 2
each statement within an if or while must have one or more extra spaces beyond that statement. Each must maintain the same spacing as the first line. if x: while y: print(x) y = not x x = not y The while includes the print and y assignment. The if includes the while and x assignment.
14th Apr 2020, 3:36 AM
John Wells
John Wells - avatar