Thank you for your translation, @Pnd72!
Done. (for some reason, sometimes messages just dissappear and reappear on tab reload in browser, so I kinda doubled the message)
That's the first solution I googled up (BigInt in random interval). It's basically an npm-package, so there should be no major problems with maintaining https://www.npmjs.com/package/random-bigint
Is the cryptographical randomness really necessary? It makes maintaining the code much harder, and it doesn't really seem to have a purpose here.
I like the redoing of the description, but code blocks should be tagged python and not if:python ( that's for normal text blocks ). Could you fix that?
JS Translation kumited -- please check and approve
stop ignoring the space and tab buttons :D
Don't need the break after return ;)
Not an issue o_O If you want help, please post a new question with what you already tried using proper markdown, and don't forget to mark it as having spoiler content.
Maybe include a Test for n=3.166312747397789. I've seen a solution which would output 8 as result.
please change 'If the input is both <3 and not an integer, the function should return undefined.'
to 'If the input is not an integer, the function should return undefined.'