Charan Teja’s Post

🚀 Built a Python Program to Print Any Name Using Patterns As part of my learning journey, I created a Python program that prints any name using star (*) patterns. This project challenged me to think differently — not just about coding, but about how to convert logic into visual output. ✨ What This Program Does • Takes user input (your name) • Converts each letter into a 5x5 grid pattern • Uses logic to print alphabets using * symbols • Supports all letters from A to Z ⚙️ How It Works I defined a function for each alphabet (A–Z), where each function controls how stars are printed using row (r) and column (c) conditions. Example 👇 def A(r,c): return ((c==1 or c==5) and r!=1) or (r==1 and c in (2,3,4)) or r==3 Then I mapped all letters and dynamically generated patterns based on user input. 🧠 What I Learned • Breaking complex problems into smaller functions • Using conditions to control visual output • Writing clean and reusable logic • Improving problem-solving skills using Python 💡 Key Insight Programming is not just about writing code — it's about thinking logically and creating something visual and meaningful from it. Grateful for the guidance from 10000 Coders and my trainer Ajay Miryala. If you try this program, type your name and see the output — it’s fun! 😄 #Python #Programming #ProblemSolving #LearningInPublic #DeveloperJourney #Coding #10000Coders #BuildInPublic 💻 GitHub Repository: https://lnkd.in/gqHAQF8F

To view or add a comment, sign in

Explore content categories