Python for Beginners - Part 4 - Conditional logic, Collection and Loop

lucianopereira86

LUCIANO DE SOUSA PEREIRA

Posted on October 15, 2019

Python for Beginners - Part 4 - Conditional logic, Collection and Loop

python_titulo

Fourth part of articles about the Microsoft's Python for Beginners series.
All the examples from the playlist are available in this GitHub repository: Python Examples.

Objective

You will learn how to work with conditional logics, collections and loops.
A Python file was created to demonstrate each example.

Topics

conditional.py

Conditional logic examples.

code13

Running the example:

python .\examples\conditional.py

The result:

code14

collection.py

Manipulating arrays and lists.

code15

Running the example:

python .\examples\collection.py

The result:

code16

loop.py

Controlling loops.

code17

Running the example:

python .\examples\loop.py

The result:

code18

Next

You will learn how to create functions, importing modules and creating virtual environments.

Video References

💖 💪 🙅 🚩
lucianopereira86
LUCIANO DE SOUSA PEREIRA

Posted on October 15, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related