@MamaFunRoll Well, for one it isn't actually magic. It also isn't a thermometer. If you're using it in either of those scenarios then it's likely that you're misusing it.
I wanted an accurate 24-hour Fibonacci clock that included hours, minutes, and seconds. Since no one had done this, I coded it myself in QB64 as a standalone Windows executable. The red square is hours, the green square is minutes, and the blue square is seconds.
At the links below, there are Zi...
It's not possible for us to do something like a series of Project Euler questions for code golf, right? A sketchier version would be to create questions based, but not matching, on them except with arbitrary values to use as input.
def run(x):
result = []
while x > 5:
result.add(x)
x -= 1
n_result = []
for s in result:
if (s % 2 and s % 3) or s % 5:
n_result.add(s)
else:
n_result.add(s ** 2)
return n_result
Quill run(x):
result = []
molarmanful x > 5:
result.add(x)
x -= 1
n_result = []
conor s obrien result:
Calvins (s % 2 Helka s % 3) Homba s % 5:
n_result.add(s)
Hobbies:
n_result.add(s ** 2)
Alex n_result
Can you add new statements (like print, raise, with) to Python's syntax?
Say, to allow..
mystatement "Something"
Or,
new_if True:
print "example"
Not so much if you should, but rather if it's possible (short of modifying the python interpreters code)
Compute the Discrete Fourier Transform
code-golf
Implement the Discrete Fourier Transform for a sequence of any length. This may implemented as either a function or a program and the sequence can be given as either an argument or using standard input.
The algorithm will compute a result based ...
@CᴏɴᴏʀO'Bʀɪᴇɴ @Himarm2017 @MᴀʀsUʟᴛᴏʀ if any of you want to work on Cheddar docs, there's a gitbooks here: gitbook.com/book/cheddar/docs/details. If you login to gitbooks with your Github, you should already have access to edit the docs. You can edit them, with markdown
> Upgoat said: nvm, I don't have time. Try tracing [this in illustrator](/Users/vihan/Downloads/39299090-Glass-of-juice-Flat-icon-with-shadow-Vector-illustration--Stock-Vector.jpg)
@HelkaHomba @Upgoat should be some type of exception
@Mego It's gr8, 11/10, post it
Anonymous
@Bálint The last several challenges I have posted have gone relatively unnoticed (< 15 vote total, < 1k views). In case it's an issue with challenge quality, I'd rather wait and get more feedback in the Sandbox before posting.
But at this rate, it doesn't look like that's going to work, since only ~5 people regularly look at the Sandbox and give feedback (unless people poke and prod at chat), so what the hell. To main it goes. 2 days should be plenty of time for any problems to be found and ironed out.
Anonymous
Gonna generate some test cases and throw it up on main