• 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
sszymkowicz Avatar
Name:Unknown
Clan:pg
Member Since:Jan 2015
Last Seen:Mar 2021
Profiles:
Following:4
Followers:4
Allies:3
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (20)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • SDKH
    • commented on "Ones and Zeros" python solution
    • 2 years ago

    Thanks

  • Custom User Avatar
    • LucianoRodIT
    • commented on "Ones and Zeros" python solution
    • 2 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • AbdallahSiyabi
    • commented on "Largest Square Inside A Circle" python solution
    • 2 years ago

    Thank you so much @stok

  • Custom User Avatar
    • LadyDi
    • commented on "Ones and Zeros" python solution
    • 3 years ago

    Can someone please explain me how the above code works?

  • Custom User Avatar
    • Antrofe
    • commented on "Grasshopper - Personalized Message" python solution
    • 3 years ago

    .format() is older as it was introduced in python 2.6 while f-string is newer and from python 3.6

    F-strings are generally more compact than .format() and easier to decipher but the biggest difference is in the ability for expressions within the f-string to be performed at runtime. This allows for things such as calling functions, creating classes, and math operations.

    Additionally, f-strings are faster than .format()

  • Custom User Avatar
    • Umbrella
    • commented on "Grasshopper - Personalized Message" python solution
    • 3 years ago

    What's the difference between .format() and a f-string?

  • Custom User Avatar
    • Topkack
    • commented on "Beginner - Lost Without a Map" python solution
    • 3 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • gangula-karthik
    • commented on "Grasshopper - Personalized Message" python solution
    • 4 years ago

    nice

  • Custom User Avatar
    • StoneEater
    • commented on "Exes and Ohs" python solution
    • 4 years ago

    Thank you very much

  • Custom User Avatar
    • MarkBaker8502
    • commented on "Beginner - Lost Without a Map" python solution
    • 5 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • user3703684
    • commented on "Grasshopper - Personalized Message" python solution
    • 5 years ago

    Same but with f strings haha

  • Custom User Avatar
    • andy_lz
    • commented on "Grasshopper - Personalized Message" python solution
    • 7 years ago

    I like this method.

  • Custom User Avatar
    • tachyonlabs
    • commented on "Largest Square Inside A Circle" python solution
    • 9 years ago

    You're welcome!

  • Custom User Avatar
    • MrHobbits
    • commented on "Largest Square Inside A Circle" python solution
    • 9 years ago

    I like your answer too, thank you for taking the time to explain that!

  • Custom User Avatar
    • MrHobbits
    • commented on "Largest Square Inside A Circle" python solution
    • 9 years ago

    Ah, okay then. That was really well explained! I've known about a2 + b2 = c**2, and figured that c was the radius, but I was thinking about it the wrong way, in that (either) a or b should have been the radius. Makes more sense that way actually.

    Thank you!

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...