DEV Community

Cover image for Day 15 of documenting my learning journey
James Kabuga
James Kabuga

Posted on

Day 15 of documenting my learning journey

What I did Today
1.Learnt what are for-loops and how to impliment them.

On what I learnt Today
For loops are used when we want to impliment Repetition or iterate even lists.

For loops are used when we want to iterate when we know the number of times we want to do so.

Syntax is :
for i in range()
print()

i is just a varible that represents each iteration.

We can also include other conditions inside the for loop eg the if statements depending on what we want to achieve.

I created python scripts and ran them to see if what I learnt I comprehended.

Resources I used

A python refresher series on youtube by Bonaventure Ogeto.

Github for documentation of my python learning journey.

What's Next

Tomorrow I'll continue learning loops specifically while loops

Top comments (0)