π Week 5 at BlockFuse Labs: Leveling Up in Python ππ‘
Another week, another leap forward!
In Week 5, I took a deeper dive into Python programming β evolving from beginner to intermediate level. After getting a taste of Python in Week 4, this week was about practice, structure, and writing cleaner, smarter code.
π What I Learned This Week
Hereβs a breakdown of the concepts I mastered:
β Variables & Data Types
Understanding how Python stores data and how types behave:
int, float, str, bool, list, dict, tuple
Type casting and implicit conversions
python
Copy
Edit
age = 23
height = 5.9
name = "iiceekiing"
is_coder = True
β String & Number Methods
Learned how to manipulate data using Pythonβs built-in methods:
python
Copy
Edit
# String methods
text = "blockfuse"
print(text.upper()) # BLOCFUSE
print(text.capitalize()) # Blockfuse
# Number operations
print(round(3.14159, 2)) # 3.14
β Input & Output
Grabbing data from users and printing results:
python
Copy
Edit
username = input("Enter your name: ")
print(f"Welcome, {username}!")
β Type Conversion
Using int(), str(), float() to cast between types:
python
Copy
Edit
age = int(input("Enter your age: "))
print("Next year, you'll be", age + 1)
β Lists and Basic Data Handling
Accessing, modifying, and looping through lists:
python
Copy
Edit
languages = ["Python", "Rust", "Solidity"]
languages.append("JavaScript")
print(languages[1]) # Rust
β Intro to Functions
Learned how to define and call reusable blocks of logic:
python
Copy
Edit
def greet(name):
return f"Hello, {name}!"
print(greet("iiceekiing"))
β Logic, Comparisons, and Control Flow
Learned how Python thinks and makes decisions:
python
Copy
Edit
age = 18
if age >= 18:
print("You're eligible.")
else:
print("Not yet.")
π§ Why This Week Mattered
Python is more than a language β itβs a mindset. The more I wrote, the more I began to think like a programmer:
Breaking problems into small parts
Writing clean and reusable functions
Thinking through control flow before coding
It felt amazing to write small programs that actually do things β from calculators to decision-makers, list filters, and more.
π Thanks Again, BlockFuse Labs
The quality of teaching, project-based tasks, and mentorship keeps me growing every week. Iβm no longer just learning concepts β Iβm applying them with confidence.