This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients hadialqattan, pablogsal
Date 2020-10-04.23:41:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601854868.97.0.0494850073105.issue41935@roundup.psfhosted.org>
In-reply-to
Content
You can already do:

my_counter = 0

for i in rage(1000):
    my_counter += (1 if (i % 2) == 0 else 0)
History
Date User Action Args
2020-10-04 23:41:09pablogsalsetrecipients: + pablogsal, hadialqattan
2020-10-04 23:41:08pablogsalsetmessageid: <1601854868.97.0.0494850073105.issue41935@roundup.psfhosted.org>
2020-10-04 23:41:08pablogsallinkissue41935 messages
2020-10-04 23:41:08pablogsalcreate