Background
Check out this video on the Collatz conjecture, also known as A006577.
If you don't know what this is, we're given an equation of $3x + 1$, and it is applied this way:
If $x$ is odd...
Challenge
Make a program that takes input of 3 non-negative integers: a result and 2 other values that once calculated results to the 3rd value.
The program must figure out how to get the 2 fir...
Originally from Somewhere Else. I thought I'd continue making more drawing challenges here now that I discovered it.
Make the Stack Overflow logo using the following criteria:
The tray:
...
I have seen KOTH (King of the Hill) challenges before but it's still unclear to me how to properly make, or even play, such challenge.
To get started, how do I make (or solve) KOTHs? An answer cou...
Disclaimer
This challenge also exists in CGCC, but if you want to compete here (too), then hop in!
Challenge
Recreate "99 Bottles of Beer on the Wall", using the least bytes possible.
Lyrics:
...
I have this challenge in Code Golf and I wonder if I can repost it here for more users to come, and also continue making these since I actually like them.
Can I post this challenge to Codidact?
Introduction
What is the Caesar shift cipher (ROT$n$)? It's basically a cipher sequence that changes a letter's value from the number chosen. If we use ROT1 on "games", we get "hbnft". The basic i...
Background
Check out this video on the Collatz conjecture, also known as A006577[1].
If you don't know what this is, we're given an equation of $3x + 1$, and it is applied this way:
If $x$ is ...
In this request (not really a feature-request but still tagged so anyway), I'd like to have detailed wikis on tags and maybe usage information on them too.
Currently, these tags have usage info in...
This is a feature-request post consisting of 2 actions for a reason...
There's this thing that's been bugging me for a while in Code Golf CD. If you go to the tag page of the Challenges catego...
Combine conditionals
Python has its fair share of comparison operators and can actually be used in a single conditional. For example:
x == 2 and y == 2
can be:
x==y==2
Used on Make $2 + 2 ...
Challenge
Make a program that takes input of a string and abbreviate it.
All letters of an abbreviation are capitalized, so keep that in mind.
Whitespace, numbers and non-English characters ar...
Challenge
Make a program that takes input of 3 non-negative integers: a result and 2 other values that once calculated results to the 3rd value.
The program must figure out how to get the 2 fir...