DEV Community

Cover image for Reviewing Python - Fundamentals

Reviewing Python - Fundamentals

Mark Abeto on December 18, 2019

Hi Guys Good Day! It's been almost two months that I haven't posted anything because I was busy studying and playing games haha. Ok, mo...
Collapse
 
cdanielsen profile image
Christian Danielsen

Nice primer.

Small correction: In the 'or operator' table of the 'Boolean Operators' section, looks like there might be a copy-paste typo from the 'and operator' table above it (e.g. should be False or False, etc.)

Collapse
 
macmacky profile image
Mark Abeto

Thanks 😁 for pointing that one out.

Collapse
 
3cho0 profile image
3cho0

You should almost never use a counter in a python for-loop, use range or enumerate instead.

Collapse
 
davilopez profile image
David López

Using enumerate or range is definitely way more pythonic, however, in this example, I will agree with the author that s more understandable for people coming from other languages.