Skip to main content

Command Palette

Search for a command to run...

Day 6: Python Functions & Karel

Published
1 min read
Day 6: Python Functions & Karel
K

Just a man trying to code my life into existence. Software Engineer at Dealer Inspire working with #PHP, #Python, and #JS. Journaling my experiences on new languages and technologies at blacknerd.dev

Today's Lesson

This article should be short and sweet. There weren't any assignments for this day so It didn't take me as long as the previous days.

We pretty much just discussed functions and while loops as well as touched on the importance of indentation.

While loops in Python are still a bit confusing for me so I won't go into detail or try to explain the concept like It clicked for me the first time through. For the day's project, we used Reeborg's World for the challenge. The objective was to lead him to the finish by using while loops and if statements. My solution is below.

https://reeborg.ca/reeborg.html?lang=en&mode=python&menu=worlds%2Fmenus%2Freeborg_intro_en.json&name=Maze&url=worlds%2Ftutorial_en%2Fmaze1.json

##EOD Like I said, today was pretty short and sweet. I'll probably have to go over this lesson again or see if my other course can explain this concept in more detail for me.

See ya tomorrow ✌🏾.

100 Days Of Code - Python

Part 22 of 28

My journey of learning Python by going through a 100 Days of Code course. The main focus is for me to reflect on what I learned and have written summaries to come back to for future reference.

Up next

Day 5: Python Loops

Not as difficult of a day as I thought it would be.