Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 5
    \$\begingroup\$ Welcome to CGCC! This site is for competitive coding challenges, and this challenge is tagged code-golf, so answers are expected to be as short as possible. You can improve your answer's score by doing things like eliminating unnecessary whitespace, shortening variable names, and using tips that can be found here. \$\endgroup\$ Commented Nov 11, 2022 at 17:35
  • \$\begingroup\$ How many bytes is this? \$\endgroup\$ Commented Nov 11, 2022 at 18:07
  • 1
    \$\begingroup\$ I have submitted an edit to add the link to the Python website, and also count the byte counts for this one (not including the extra two lines, which are for running solutions). Feel free to edit this if you want to make some changes on your own. \$\endgroup\$ Commented Nov 12, 2022 at 4:46