Thanks for the upvotes!
+1 for the nicely asked question. 75% of the posts we get these days are spam. Makes sense to reward the good ones.
WATCHES ME IN MY ROOM wtf stop making up creepy lines just so they rhyme
I used to think it's impossible to be good at CSS
I have heard the same question several times on repl talk. Can you somehow confirm you're a teacher? Also, sharing code is not in the spirit of repl talk. We just nudge you in the right direction, giving advice and/or resources. Thanks you for your patience
I had to program on dad's office laptop once and I couldn't install anything there. A quick Google search landed me here. Now I use repl.it even if I'm on my PC
If anyone needs help with setting up the DBMS, hmu! I've translated the DBMS so I know how stuff works.
To be a maintainer or a participant, that is the question.
import random line is idiomatically written at the top of the program.
also, It should be
random.randrange(1,4) and not just randrange.
Mark as answer if this helps!
@qsa I totally understand. A solution may not be arrived at without looping/recursion of any kind. Recursion may not encourage more creativity as there's only so many ways you can add numbers. Blocking recursion might give even more diverse solutions out of the desire to be different from the inverse croud. Something like @PYer 's logarithm addition
That said. It is theoritically impossible to achieve multiplication without loops. This question is more about finding loopholes than writing algorithms smh
Great job with the submission! Keep the efforts up.
Good work! Glad to be of assistance. Gotta define badhash(1), badhash(0) and check if I can reverse-engineer it tomorrow
Python uses a different
range syntax. For example, to count from 0 to 9, the code is
for i in range(10):
If you want to start from 1, you can always do
for i in range(1,10):
Which will give the same result are
for i in [1,2,3,4,5,6,7,8,9]:
Mark as answer if this helps! ;-)
Files made programmatically don't really update on repl.it. I'd suggest using an external database such as PostgreSQL or even google sheets API
Congratulations to the winners! Make sure to give your games a future!
in lines 40 and 42, note that
input is a scanner object and not a string. You might want to replace
word in those two lines. Upvote and/or mark as answer if this helps!