top contributors since
ruiwenge2
HazTheWaz
thesephist
jajoosam
mat1
HackermonDev
eankeen
TrueXPixels
HarperframeInc
potatojs
view leaderboard →
2 years ago
module error IBSerialhello , if you can help me in python with the micro controller (MAKER) when i write my code : import time from IBSerial import * import IBSerial a...
Ask
1 comment
Latest comments
ShoryaMalani2 years ago
The problem it seems is in your actual code there is a space before from IBSerial import *
view all ›
answered
2 years ago
Where is the submit button?I can't find the submit button. I can't find the submit button. I can't find the submit button. I can't find the submit button. I can't find the submi...
AskSwiftSwift
2 comments
Latest comments
MrEconomical2 years ago
what submit button
view all ›
7 months ago
python classes and functions questionif i have this code: ```py class one: class two: def three(self): print('yo!') ``` i can't run it like this: ```py a = one() a.two....
Ask
9 comments
Latest comments
RYANTADIPARTHI7 months ago
maybe, try initializing both classes, and using the names to get the function.
Coder1007 months ago
https://repl.it/@Coder100/TragicShortStatistics-shut-up-smh#main.py Here is a repl to show you
Coder1007 months ago
you can't. You can either do it like step one or step 2. Also, make sure your classes are named with proper practices. One not one and Two not two. https://repl.it/@Coder100/TragicShortStatistics-shut-up-smh#main.py Why is this you ask? The reason is that python has static methods (which is the first version), and there are instance methods, which require you to make an instance, which means calling the function.
view all ›
h
1 year ago
Programming Language NameOk, so, I have been calling it .sl(Simple lang) recently, but I don't like the name. I thought of .mep(Modern Easy Programming), .es(Easy Script) and...
Share
comment
answered
1 year ago
Repl.it brokenI copy pasted code from another IDE, and it threw inconsistent use of tabs and spaces (python), which is expected. However, I changed all the spaces t...
Ask
12 comments
Latest comments
JoshuaGottfried1 year ago
All of the comments are helpful but they are forgetting one thing... Never copy paste a lot of code
Coder1001 year ago
Hi! This is a tab: " " This is a space: " " As you can see, they are hard to tell apart. Anyways, in your case: Hit Ctrl/Cmd+A Hit Tab Hit Shift+Tab Basically the editor tabs everything and then untabs it again, so any tabs get converted to spaces. The second option: Hit Ctrl+F Inside here: image paste Click the triangle: image Inside the second input, put in 2 spaces or however many spaces your program needs. Then click replace all.
PattanAhmed1 year ago
@LeakyLobster Hi, Can you link your code here by editing your question and adding one of the Repls that is throwing this error?. So that we can look into your problem more realistic than our illusionary minds. Hope this helps Please mark my answer if this helps.
view all ›
answered
h
2 years ago
External View on PolygottHTML sites have repl.co, Terminal apps have repl.run, but what does Polygott/Pygame have? Is it possible to view the GFX output of a repl externally?
Ask
2 comments
Latest comments
TheDrone72 years ago
The graphical output cannot yet be viewed on a different url. IIRC, the team was planning on getting the repl.gg domain for the purpose but I'm pretty sure they haven't yet implemented that.
view all ›
2 years ago
tricksyz.ga - a simple link shortenerGot bored so I made this. Very simple without any bullcrap. Shortens the url and does nothing else. Might add image upload soon as evident by the code
SharePythonPython
2 comments
Latest comments
dingphotos4 months ago
doesnt work
AdCharity2 years ago
noice
view all ›
1 year ago
Package operation failed with pandasHi guys, i'm just tryng to use pandas but i keep gettin this error. Tried to look it up but didnt seem to find any solutions. Thanks
Share
comment
h
2 years ago
estimating pi with the Leibniz formula (pi day attribute)!I made a program that estimates pi with the Leibniz formula.
ShareJavaJava
1 comment
Latest comments
LizFoster2 years ago
Ha ha ha, nice!
view all ›
2 years ago
Exciting...Hi,there... As an alumni of Taipei Tech,I'm pleased to come back here today and learning Python after graduation 30 yrs ago.
Share
1 comment
Latest comments
LizFoster2 years ago
Nice! Do you mean that you are learning Python for the first time, or that you are learning it again?
view all ›
h
2 years ago
Random sentence generator!"the depressed girl obliterated the happy keyboard" this program generates very random sentences for your entertainment.
ShareJavaJava
1 comment
Latest comments
SixBeeps2 years ago
Very nice. I love making programs like these :)
view all ›
h
2 years ago
Weighted score calculator Panicking in school? This weighted score calculator will make you panic even more!
ShareJavaJava
1 comment
Latest comments
LizFoster2 years ago
Oh yay! I love panicking about school! Thanks a million!
view all ›
2 years ago
Help with parsing and passing a String as a parameterI am making a Reverse Polish Notation (RPN) Calculator. I would like the program to take the user's input and place each part of the input into a st...
AskJavaJava
1 comment
Latest comments
[deleted]
2 years ago
I think the issue may be how you are managing the stack. The numbers and the operator seem to be getting mixed up (their positions I guess). That said there is an easier way to parse the input string than what you are using. The following line of code uses a regular expression to do the job. It splits the input string on any number of white space characters and stores the result in an array of strings. : String [] expresions = exp.split("\\s+"); So, if exp is "2 + 3", then expressions will be ['
view all ›
2 years ago
Factorial CalculatorThe "Product" Operator (∏) is the multiplicative equivalent of the Summation Operator (Σ). Among many other things, this can be used to calculate fact...
SharePythonPython
1 comment
Latest comments
LizFoster2 years ago
for a better visualization of this, go to desmos.com/calculator, and paste this in: \prod_{i=1}^{ }i Add the letter "n" to the top, and hit the "add slider: n" button. Then change that slider to any value you want.
view all ›
1 year ago
String LessonString exercises. String exercises.String exercises.String exercises.String exercises.String exercises.String exercises.String exercises.String exerci...
SharePythonPython
comment
3 years ago
Python arrow key inputHow to you get python to detect an arrow key? How do you make it react immediately without having to press ENTER.
Ask
6 comments
Latest comments
skyscraper14925 months ago
Hmmm. I was also trying to use arrow keys. But it didn't work for me either.
ColePete9 months ago
If I could see you code, that would be helpful. But, you could just have it print("insert something here") again. Or, you can use time and tell it to wait a few seconds, and then continue. If you give me the code, I could show you. @JakobNacanaynay
Barry1231 year ago
If you are using turtle: Import turtle screen=turtle.Screen() #Define a function here while True: screen.onkey(That_function, key)
view all ›
2 years ago
OutputWhen executing code in my iPad, quite often I will not see the output (no dark bottom paneI and I will have to log out and the log in again to see th...
Ask
1 comment
Latest comments
HackermonDev2 years ago
On an iPad there should be this button you can use to control the length of the terminal. If you use that you should be able to make the terminal bigger. Image (on a computer): image
view all ›
1 year ago
A Supervised Deep Learning Neural NetworkThis is a simple customizable identification Neural Network, It can be customized. More info is on the README.md file! Feel free to fork!
SharePythonPython
comment
answered
2 years ago
Why does the chessboard setup fine on the Chromebook but not the MacBook?So whenever I run this game on my Chromebook the chessboard sets up fine and the game runs like it's supposed to, but whenever I run it on the MacBook...
AskHTML, CSS, JSHTML, CSS, JS
14 comments
Latest comments
AdCharity2 years ago
May I suggest JavaScript to remove the 50 elements that you copy and pasted? btw you don't need a cookie libary, just json stringify/parse + local storage. In addition, I'm going to suggest either opacity: 0 to achieve a similar effect, or display: none if you want the element to take up no space.
RohilPatel2 years ago
It may be simply, as @Zavexeon said, a browser issue, and I highly recommend using their default browser, Safari, but in order to make a real test, use the same browser on both to see if it's the computer that is goofing up. Like if this helps!
Zavexeon2 years ago
What browser is the MacBook using? (I'm assuming the Chromebook is using Chromium)
view all ›
2 years ago
Repl.it Blacklist ヾ(*ФωФ)βyё βyё☆彡I was making an express server that downloads urls, and am going to make a function to search it for specific images. I was testing it, when my friend...
Ask
2 comments
Latest comments
HeorhiiChekan9 months ago
if you have a bash repl and in the terminal type 'curl ifconfig.me' , it will give you that machines public ip address. (their router address), but if you go there(paste it in the url field in your browser), it will also show that message " ヾ(*ФωФ)βyё βyё☆彡 ".
Vandesm142 years ago
There is not a blacklist to my knowledge. But there is, in fact, a proxy which repls hide behind. But that shouldn't be the problem.
view all ›
2 years ago
how to write this partSupermarket class must have 3 general characteristics
AskJavaJava
1 comment
Latest comments
Highwayman2 years ago
Problems 1) no code 2) non-descriptive question Please provide these things so we may help you.
view all ›
answered
5 months ago
.env question(plz answer thx) about lists HTMLso env variables yay! but first lemme tell me my env vars(for right now ) so all of them are [] and i want to append $Usernamee, $Passwordd, and $USER...
AskPHP Web ServerPHP Web Server
8 comments
Latest comments
Coder1005 months ago
You cannot modify .env variables programmatically. They are constants. In fact, they shouldn't even be modified at all in that way, they are meant to store API keys!!
view all ›
1 year ago
Make a pass!!# Hi. Make a password of any amount of characters!
SharePythonPython
comment
2 years ago
Online Repl.it CompilerA compiler inside of Repl.it I'm planning to style it soon. Share ideas in the comments.
SharePHP Web ServerPHP Web Server
2 comments
Latest comments
SpoonyTheGreat5 months ago
awesome! (do you mind if i nick it and try and make it my own thing)
view all ›
1 year ago
This is my first calculatorThis is my first calculator. Hope you enjoy!
ShareHTML, CSS, JSHTML, CSS, JS
comment
7 months ago
Hide code but allow the repl to be executedWell, I mean the title is pretty much self explanatory of what im talking about.
Ask
9 comments
Latest comments
LeoXu27 months ago
can u just open the link?
Coder1007 months ago
Easy! Read this: https://docs.repl.it/repls/embed Happy embedding!
RYANTADIPARTHI7 months ago
explain more please.
view all ›
1 year ago
Game of DebtSorry, some the monthly instances may seem too common. Also, my condolences for all of your dead cousins and neighbors.
SharePythonPython
comment
2 years ago
need help making a https request in c++need help making a https request in c++, i cant find a way to do it. i need it for a school project
AskC++C++
1 comment
Latest comments
HackermonDev2 years ago
Well, I don't know C++ but I found a StackOverflow post: https://stackoverflow.com/questions/1011339/how-do-you-make-a-http-request-with-c
view all ›
1 year ago
AdminThis is just an admin command testing round. if you want more admin commands comment down below :)
Share
comment
1 year ago
RPSPlay against an AI yayayay
SharePythonPython
comment