OlauPla
@OlauPla
I have been testing my discord bot on repl.it since a few days I have never had any big problems. Bur recently my ip is getting banned from discord be
ch1ck3n it's just because a load of people are making bots on replit and most of them are being requested from the same IP so it's either you get lucky and get a different server or get hacker and boost or smth2 years ago
Object-oriented programming
Today I am going to talk about Object-oriented programming I will use OOP to reference it through out the tutorial.
This
Python
OldWizard209 Hey. Great tutorial but a few notes about a couple of things you wrote.
> Then we define a special method for the class. The init method, this method will run when an instance of the "Human" class is created.
The init method is called a dunder method, recognized by the pair of two underscores around the name.
> The init method takes 3 parameters self, name, and age.
This sentence makes it seem like the init method takes three parameters by default. But that's not true. The first parameter ha2 years ago
Please tell me how to do it
Idk if it's brute force but it cracks your password, any questions I will be happy to answer
Python
vys how does this even work? i feel like it's just a scheme to grab peoples passwords. nice try tho lmao2 years ago
This is a quiz that sorts you into your 'Hogwarts' house
credits: https://www.youtube.com/watch?v=saLPZXZa4GY
Python
Hope you like this quiz at the end it will tell you to what house you belong!!
DISCLAIMER!!: THIS IS NOT MY TEST IT IS BASED ON THIS VIDEO I JUST COD
Python
LuckyOreos I love Harry Potter and I know this is like so late to comment!!! But nice job2 years ago
This is a copy of the repl.it among us made by @Smart0ne
https://repl.it/talk/share/Among-Us-ALPHA-by-Smart0ne/80462
Is that ok?
Bookie0 no. that would be plagiarism and copying if that's the exact same code.
unless you heavily change many things, credit the original author, and make it clear it's different, than you shouldn't do it! ;)2 years ago
k9chelsea2 It is ok to fork a repl, if your gonna post it you need to have changed a significant amount and give proper credit. If it is an exact copy that is plagiarism and should be reported, that is not ok.2 years ago
Hi this is re-uplode of my 'chat bot or console' I fixed stuff!
Hope you like itttttt!
Also this is not final version this is only to get feedback o
Python
Hi, I ame making this like console. I need people to tell me how it looks so far. If you see any error plzz tell me(I even mean grammar)
So I hope yo
Python
angrydoge File "main.py", line 65
tries = 10
^
IndentationError: unindent does not match any outer indentation level
`2 years ago
I need beta testers for my project (1 or 2 persons)
So I want that in python when they run the code it will print the username
EpicJohn127 use this:
from os import environ
username = os.environ['REPL_OWNER']
print("Hello, " + username)
That should show it11 months ago
Cooolcoder maybe repl has an api so you can get data from there?
there may be a function where: print("*the username they want to print")
or maybe you can ask users for their username like this:
username = input("What is your username?")
print (username)
return 02 years ago
Does anyone know a little bit so she or he can explain?
Baconman321 @SixBeeps Yes, but no. However, it is closely related (since you use a programming language for the algorithm). I think repl should also include cryptography. Since computer science is a valid subject here, cryptography should be too. (I wanted to reply to ur post but it said "can't read comment_id of null").2 years ago
OneNose It's not coding related, but here's the explanation.
In regular crypts there is a key and if you know it then you can encode and decode anything using the crypt.
In an asymmetric crypt there is one key for encoding and one key for decoding.2 years ago
So I'm getting my answer marked as a correct one and giving me the 5 cycles but it doesn't count them until a while.
Coder100 oh that, it's not a big deal, because of the large amount of users (i think) they buffer the cycle rewarding until after a while.2 years ago
Why PyAutoGUI is not available on repl.it
I just posted a tutorial on a spam bot and i couldn't do the code on repl.it because no PyAutoGUI, does an
Coder100 pyautogui isn't available for a number of reasons:
hard to implement: most repls are terminal-based anyways.
has few legitimate purposes: if you really need to use a spambot, you should use probably use webbot (just saying)
Easy to take advantage of (is it not?)
Conclusion
Just use webbot:
import webbot
web = webbot.Browser()
web.go_to('https://repl.it/')
Docs2 years ago
RYANTADIPARTHI I had experience with that too. Pyautogui is not available on repl.it. On other editors yes. But repl.it is only limited to how many modules you use. I don't know why, but like i said - limited.2 years ago
Introduce 2 number and you will get all the prime numbers between them!
UPVOTE if you like!
Python
I want to know how to have big letters in repl.it comments.
Also I would like to know other stuff that you can do
RYANTADIPARTHI Put a # in front of your words to make the headers
Click here for more info
2 years ago
Ok this project gets all the prime numbers between two numbers!!
Ok, this is super fast, try entering 100000 numbers! it wont be long...
Give me som
Python
LeoSekour Heres a more efficient way to do it:
nums = range(1,10) #range(num1, num2)
print([x for x in nums if len([i for i in range(1,x+1) if x%i==0]) <= 2 and x not in [0,1]])
note that 1 is not a prime number, so you have to account for that.
In the meantime vote for trump2 years ago
Ok, so I did this. You enter two numbers in the code and the computer tells you all THE PRIME NUMBERS between them.
I would like some feedback, if yo
Python
I need some links to learn c++, i need anything you can get, websites, youtube videos...
TsunamiOrSumth https://www.w3schools.com/cpp/default.asp
https://www.codecademy.com/learn/learn-c-plus-plus
http://www.cplusplus.com/2 years ago
Coder100 10 hours and you will be awesome at C++!
https://www.youtube.com/watch?v=_bYFu9mBnr4
http://www.cplusplus.com/doc/tutorial/
2 years ago