hacker

Lord Poseidon

@Lord_Poseidon (156)
Update on EasyCTF
posted to Share by AmazingMech2418

Sign me up as a competitor

#WEEKLY yay math
posted to Share by Lord_Poseidon

@AmazingMech2418 so im not the only person to overdo things. Good to know

Portfolio Site Template
posted to Templates by lilykhan

I used to think it's impossible to be good at CSS

A webpage
posted to Share by lakshu

Aww that's sweet.

Developer Spotlights - Breloom watches you in your room!

WATCHES ME IN MY ROOM wtf stop making up creepy lines just so they rhyme

How I solved the Secret Announcement

Thanks for the upvotes!

#WEEKLY Week 5
posted to Share by Aloeb83

statistics.mean.. that's creative

Do you like games?
posted to Ask

+1 for the nicely asked question. 75% of the posts we get these days are spam. Makes sense to reward the good ones.

Repl DB
posted to Templates by ApoorvSingal

If anyone needs help with setting up the DBMS, hmu! I've translated the DBMS so I know how stuff works.

Introducing EasyCTF - A Cybersecurity "Capture the Flag" Competition
posted to Share by AmazingMech2418

To be a maintainer or a participant, that is the question.

I am creating a project for my students
posted to Ask by ShirjeelQureshi

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

**Help**
posted to Ask by TheBerserker

The 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!

#WEEKLY binary arithmetic because why not
posted to Share by Lord_Poseidon

@PXY oh sorry.. I thought the variables were named well enough... x and y for numbers, f for a function, t for a tuple, dec for number of decimal places and so on.

#WEEKLY but different [[FIXED]]
posted to Share by Codemonkey51

@AmazingMech2418 recursion does allow many possibilities.

#WEEKLY binary arithmetic because why not
posted to Share by Lord_Poseidon

@PXY thank you!
Sorry for the bad readability :( was never my forte. Atleast you ger gratification after figuring it out!

Perhaps I stressed conciseness too much

#WEEKLY but different [[FIXED]]
posted to Share by Codemonkey51

@qsa And I thought I went overboard... This is too arcane for my eyes.

#WEEKLY but different [[FIXED]]
posted to Share by Codemonkey51

@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

Know about Covid-19 & its exponential growth + A Checklist ( JAM #9 )
posted to Share by vishal1999tk

Great job with the submission! Keep the efforts up.

How Did YOU Find Repl.it
posted to Ask by PYer

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

A bad hashing algorithm
posted to Share by 21natzil

Good work! Glad to be of assistance. Gotta define badhash(1), badhash(0) and check if I can reverse-engineer it tomorrow

why isent this right
posted to Ask by satijn

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! ;-)

Using .txt files in python
posted to Ask by CarlLiljencrant

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

Repl.it Mobile App
posted to Ask by Kognise

You got my upvote

🏆GAME JAM WINNERS INSIDE 🏆
posted to Announcements by katyadee

Congratulations to the winners! Make sure to give your games a future!

Java outputting long string when using Scanner
posted to Ask by KieranGallison

in lines 40 and 42, note that input is a scanner object and not a string. You might want to replace input with word in those two lines. Upvote and/or mark as answer if this helps!

Python "Builtin_function_or_method" error! Help!
posted to Ask by DragoniteDL

same with len[chars]

Python "Builtin_function_or_method" error! Help!
posted to Ask by DragoniteDL

It's len(code) and not len[code] Note this parenthesis and the square brackets

Hangman
posted to Share by SugeshVaran

word_list is literally the first variable you define. Try putting the answers in a .env if you don't want others to see them

[Python]How do i can make a str print statement that doesn't prints " ' "?
posted to Ask by PAULX

@PAULX your welcome.Don't hestitate to ask anything else here :-)