Learn practical skills, build real-world projects, and advance your career
Created 3 years ago
Branching using Conditional Statements and Loops in Python
Part 3 of "Data Analysis with Python: Zero to Pandas"
This tutorial series is a beginner-friendly introduction to programming and data analysis using the Python programming language. These tutorials take a practical and coding-focused approach. The best way to learn the material is to execute the code and experiment with it yourself. Check out the full series here:
- First Steps with Python and Jupyter
- A Quick Tour of Variables and Data Types
- Branching using Conditional Statements and Loops
- Writing Reusable Code Using Functions
- Reading from and Writing to Files
- Numerical Computing with Python and Numpy
- Analyzing Tabular Data using Pandas
- Data Visualization using Matplotlib & Seaborn
- Exploratory Data Analysis - A Case Study
commit jovin()
File "<ipython-input-4-9cd56e2c2b6b>", line 1
commit jovin()
^
SyntaxError: invalid syntax
for i in range(3,7,3):
print(i)
3
6
jovian.commit
<function jovian.utils.commit.commit(message=None, files=[], outputs=[], environment='auto', privacy='auto', filename=None, project=None, new_project=None, git_commit=False, git_message='auto', **kwargs)>
This tutorial covers the following topics:
- Branching with
if
,else
andelif
- Nested conditions and
if
expressions - Iteration with
while
loops - Iterating over containers with
for
loops - Nested loops,
break
andcontinue
statements