•1 year ago
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 smth1 year ago
•1 year 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
InvisibleOne Cool, very interesting1 year ago
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 ha1 year ago
OlauPla Please go easy on me first tutorial1 year ago
Please tell me how to do it
Ok, thhis is not finished just want some feedback of what I already got
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
Smart0ne I think it's okay, but you SHAN'T make no/little changes and publish 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, 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
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 it5 months ago
Coder100 Well you can, only if you like add repl auth read this2 years 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.
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
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
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
TsunamiOrSumth why are you sharing your political views on a coding website smh 2 years ago
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
I need some links to learn c++, i need anything you can get, websites, youtube videos...