Skip to content

Files

Latest commit

 

History

History
27 lines (17 loc) · 411 Bytes

File metadata and controls

27 lines (17 loc) · 411 Bytes

Pattern: Use of tab before operator

Issue: -

Description

There should be only one space before or after operators.

Example of incorrect code:

Note: The character represents a tab.

if xin [1, 2, 3]:
    print(x)

Example of correct code:

if x in [1, 2, 3]:
    print(x)

Further Reading