dan-da / py2php

py2php is a utility that will auto-translate python code into PHP code.
GNU General Public License v2.0
99 stars 32 forks source link

replaced range with generator #17

Closed sfinktah closed 3 years ago

sfinktah commented 3 years ago

Since I happened to be writing this for an answer in stackoverflow, I though I would compare the result with what you used in py2php -- and I think mine is better (since it is actually a generator).

sfinktah commented 3 years ago

ikr, i didn't even know what a generator was the last time I did a php project.