Python Program Prints Stars Based on Word Length

#DAY02 #Nextwave #Pythonprogramminglanguage Just solved a simple yet satisfying coding challenge 💻✨ Given a word, I wrote a Python program to print stars ⭐ based on the length of the word. Example: Input ➡️ "qwerty" Output ➡️ ****** It’s a great reminder that even small problems help build strong fundamentals in programming 🚀 Here’s the code snippet I used 👇 word = input() word_length = len(word) result = "*" * word_length print(result) Consistency in practicing coding problems is key to mastering logic and problem-solving skills 🔑 #Python #CodingPractice #ProblemSolving #Programming #LearningJourney #DeveloperLife

  • graphical user interface, text, email, website

To view or add a comment, sign in

Explore content categories