Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Day 6: Functions, While Loops, and the Reeborg Maze ๐Ÿค–๐Ÿ

DEV Communityยทsheemaยท18 days ago
#nty6ABDb
#python#beginners#codenewbie#devjournal#today#loops
Reading 0:00
15s threshold

I just wrapped up Day 6 of my Python journey! Today was all about moving parts and automated navigation. After pushing through a tough logic wall yesterday, today felt a lot more rewarding, smooth, and honestlyโ€”just a ton of fun! ๐Ÿš€ What I Learned Today Indentation Rules: Diving deep into how Python uses empty whitespace to group blocks of code together, and why a single wrong space ruins the flow. Defining & Calling Functions: Learning how to bundle blocks of code into a single custom command (like def turn_right(): ) so I don't have to keep writing the same steps over and over. While Loops: Moving away from set lists and mastering loops that run continuously based on a shifting condition. It's the ultimate tool for handling unpredictable scenarios! ๐Ÿ› ๏ธ The Projects: Reeborg's World Todayโ€™s entire workspace was inside Reeborg's World, a digital grid where you write Python code to guide a tiny robot through puzzles. Hurdles 1 to 3: I started by teaching Reeborg how to jump fixed walls.โ€ฆ

Continue reading โ€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More