Skip to content

Iterable integers #13

Description

@mvirts

Iterable integers actually make sense if you are comfortable with throwing away some readability

for i in 100: print(i)
this would be equivalent to

for i in range(100): print(i)
Maybe introduce an alternate keyword under or below like

for i under 100: print(i)

Negative numbers could slightly change the behavior to

for i in range(0,-100,-1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions