Skip to content

[Bug] [bangbang.py](http://_vscodecontentref_/83) has mixed tabs and spaces causing potential IndentationError #376

Description

@GaneshPatil7517

In bangbang.py:9-11:

if ym[1]>70:
      amp = 3
  elif ym[1]<65:
      amp = 1
      

The blank line after amp = 1 contains a tab character followed by spaces. While not a runtime error in all Python versions, mixed indentation is a PEP 8 violation and Python 3 raises TabError when tabs and spaces are mixed in the same block. The file should use consistent 4-space indentation throughout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions