• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
smartguy74 Avatar
Name:Unknown
Clan:Unknown
Member Since:Feb 2025
Last Seen:Feb 2025
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (3)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Grumble_Rumble
      • commented on "Does my number look big in this?" python solution
      • 28 days ago

      Practice practice and some more practice. Make sure to make time for some more practice in between. You won't even realize when you have started writing code like this...

    • Custom User Avatar
      • strangercacaus
      • commented on "Does my number look big in this?" python solution
      • 2 months ago

      The most important thing here is the list comprehension (sum(int(x)) for x in str(value)

      It is nothing but a for loop, you will write hundreds of for loops until it just clicks that what you're trying to do is this essential form, and then it comes naturally.

      the more you see it the more obvious it gets

    • Custom User Avatar
      • smartguy74
      • commented on "Does my number look big in this?" python solution
      • 5 months ago

      I am still new to python but I wonder how does someone think about these one liner clean code, does it come after few iterations or they pop up just like that :)

    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...