---
# System prepended metadata

title: String methods

---

🚀 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.