fastest-codepython CMC: Output the factorial of every number up until the input. The input will be smaller than 20 and higher than 0. The score of your answer is the sum of the times your program requires to return the factorial for all the numbers in the range (4...20]
Hardcoding is disallowed.
If it times out for any input, your program has infinite score.
Challenge
Given an input integer n > 0, output the number of primes (other than n, if n itself is prime) that can be produced by altering one digit in the decimal expansion of n (without changing the number of digits).
Examples
For example, n = 2. By altering one digit in the decimal expansion...
We are adding libraries to execute Python from within APL and APL from within Python. What should we call these tools?
Anonymous
@LeakyNun Executing A inside of B isn't the same thing as what I'm looking for. I want a set of languages for which there are tools to translate code between them.
@LeakyNun A) That tool doesn't work very well (I've tried it). B) I don't know of any JVM bytecode -> Python transpilers (or any transpilers for JVM bytecode).
@AdmBorkBork you're supposed to be able to with CLR - I spent so much wasted time in C++.NET messing with CLR when I was first learning coding in a public school setting. Dunno how to though.